mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-20 07:30:50 +00:00
[travis] Make travis faster
This commit is contained in:
parent
e9bde76c7e
commit
c8040a3b9e
18
.travis.yml
18
.travis.yml
@ -6,16 +6,24 @@ env:
|
||||
global:
|
||||
- COMPILER=g++
|
||||
|
||||
# Default --recursive (rapidjson/thirdparty/gtest) is unnecessary
|
||||
git:
|
||||
submodules: false
|
||||
depth: 3
|
||||
|
||||
before_install:
|
||||
- git submodule update --init
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources: &apt_sources
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-precise-3.5
|
||||
- llvm-toolchain-precise-3.6
|
||||
- llvm-toolchain-precise-3.7
|
||||
- llvm-toolchain-precise-3.8
|
||||
- llvm-toolchain-trusty-3.9
|
||||
- llvm-toolchain-trusty-4.0
|
||||
#- llvm-toolchain-precise-3.6
|
||||
#- llvm-toolchain-precise-3.7
|
||||
#- llvm-toolchain-precise-3.8
|
||||
#- llvm-toolchain-trusty-3.9
|
||||
#- llvm-toolchain-trusty-4.0
|
||||
- llvm-toolchain-trusty-5.0
|
||||
|
||||
compiler: clang
|
||||
|
2
wscript
2
wscript
@ -93,7 +93,7 @@ def download_and_extract(destdir, url, ext):
|
||||
dest = destdir + ext
|
||||
|
||||
# Extract the tarball.
|
||||
if not os.path.isdir(destdir):
|
||||
if not os.path.isdir(os.path.join(destdir, 'include')):
|
||||
# Download and save the compressed tarball as |compressed_file_name|.
|
||||
if not os.path.isfile(dest):
|
||||
print('Downloading tarball')
|
||||
|
Loading…
Reference in New Issue
Block a user