Skip to content

Commit

Permalink
Tries to fix some warnings in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kpp committed Jul 29, 2015
1 parent cf7e92b commit 85fbfd1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ compiler:

os:
- linux
- osx

sudo: false
cache:
- apt
- pip
apt: true
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
Expand Down Expand Up @@ -41,7 +43,7 @@ env:
- USE_LLVM=Off
BUILD_TYPE=Coverage

install:
before_install:
- pip install --user cpp-coveralls

before_script:
Expand All @@ -50,8 +52,8 @@ before_script:
- cmake .. -DUSE_LLVM=$USE_LLVM -DBUILD_TESTS=On -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DSITE="${TRAVIS_OS_NAME}@Travis" -DBUILDNAME="${TRAVIS_BRANCH}_${CXX}_LLVM_${USE_LLVM}_${BUILD_TYPE}"

script:
- ctest -M Experimental -T Start -T Build -T Test -T Submit
- cmake --build . -- all --keep-going && cmake --build . --target check # If ctest built the project unsuccessfully, `make all && make check` will report errors to Travis
- cmake --build . -- all --keep-going
- cmake --build . --target check

after_success:
- if [ ${CXX} == g++ ] && [ ${BUILD_TYPE} == Coverage ]; then ~/.local/bin/coveralls --repo_token "INxVunXhVXbQWjVbwoIisKeXSJqCRGnI2" --exclude build/tests/gtest -E ".*CMake.*CompilerId.c" --gcov-options "\-lp" -r ../; fi

0 comments on commit 85fbfd1

Please sign in to comment.