mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 03:55:49 +00:00
Try to fix travis.
This commit is contained in:
parent
2073b36392
commit
2a9e0b4575
22
.travis.yml
22
.travis.yml
@ -110,17 +110,25 @@ matrix:
|
|||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
||||||
if [[ "${COMPILER}" = "g++-5" ]]; then
|
if [[ "${COMPILER}" == "g++-5" ]]; then
|
||||||
brew install gcc5
|
brew install gcc@5
|
||||||
|
brew link --overwrite gcc@5
|
||||||
fi
|
fi
|
||||||
if [[ "${COMPILER}" = "g++-6" ]]; then
|
if [[ "${COMPILER}" == "g++-6" ]]; then
|
||||||
brew install gcc6
|
brew install gcc@6
|
||||||
|
brew link --overwrite gcc@6
|
||||||
fi
|
fi
|
||||||
if [[ "${COMPILER}" = "g++-7" ]]; then
|
if [[ "${COMPILER}" == "g++-7" ]]; then
|
||||||
brew install gcc7
|
brew install gcc@7
|
||||||
|
brew link --overwrite gcc@7
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- |
|
||||||
|
if [[ "${COMPILER}" == g++* ]]; then
|
||||||
|
export J="-j1"
|
||||||
|
fi
|
||||||
|
|
||||||
- export CXX="${COMPILER}"
|
- export CXX="${COMPILER}"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@ -128,7 +136,7 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- travis_retry ./waf configure
|
- travis_retry ./waf configure
|
||||||
- ./waf build
|
- ./waf build ${J}
|
||||||
- ./build/release/bin/cquery --ci --log-all-to-stderr --test-unit
|
- ./build/release/bin/cquery --ci --log-all-to-stderr --test-unit
|
||||||
- ./build/release/bin/cquery --ci --log-all-to-stderr --test-index
|
- ./build/release/bin/cquery --ci --log-all-to-stderr --test-index
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user