From f1f20c0b2e150cb1d24a0b2e52e8672e9905cfae Mon Sep 17 00:00:00 2001 From: allonli Date: Sun, 20 May 2018 18:33:12 +0800 Subject: [PATCH] update .travis.yml conf --- .travis.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.travis.yml b/.travis.yml index afc3fc3f5c..ede5b7163a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,23 +6,14 @@ dist: trusty os: - linux env: - global: - - CMAKE_URL=https://cmake.org/files/v3.11/cmake-3.11.1-Linux-x86_64.tar.gz addons: apt: - sources: - - llvm-toolchain-trusty-6.0 - - ubuntu-toolchain-r-test packages: - git - python - python-pip - python2.7-dev - libc6-i386 - - clang-6.0 - - libclang-6.0 - - llvm-6.0 - - llvm-6.0-dev - curl compiler: @@ -31,24 +22,7 @@ compiler: before_install: - sudo pip install -U virtualenv pre-commit pip # Download and install recent cmake - - | - if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then - CMAKE_URL=${CMAKE_URL} - mkdir -p ${DEPS_DIR}/cmake - travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C ${DEPS_DIR}/cmake - export PATH=${DEPS_DIR}/cmake/bin:${PATH} - fi - -#install: -# - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; fi -# - if [ "$CXX" = "clang++" ]; then export CXX="clang++-6.0" CC="clang-6.0"; fi -before_script: - - | - echo "cmake generate compile_commands.json for clang-tidy" - ls -l -a - clang-tidy -version - clang-format -version script: - | function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; } -- GitLab