Skip to content

Commit

Permalink
Merge d11e6e9 into 0d0897a
Browse files Browse the repository at this point in the history
  • Loading branch information
springmeyer committed Sep 18, 2019
2 parents 0d0897a + d11e6e9 commit c036b71
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
language: cpp

sudo: false

cache: apt

before_install:
- if [[ ${COVERITY_SCAN} == "1" ]]; then echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- ; fi

Expand All @@ -16,12 +12,12 @@ install:

before_script:
- eval "${MATRIX_EVAL}"
- ( mkdir -p build && cd build ; cmake .. -DCMAKE_BUILD_TYPE=${BUILDTYPE} -DEARCUT_WARNING_IS_ERROR=ON )
- ( mkdir -p build && cd build ; cmake .. -DCMAKE_BUILD_TYPE=${BUILDTYPE} -DEARCUT_WARNING_IS_ERROR=ON -DCMAKE_CXX_COMPILER_LAUNCHER="ccache" )
- if [[ -n $COVERITY_SCAN_TOKEN && ${COVERITY_SCAN} == "1" ]] ; then curl -s 'https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh' | bash || true ; fi

script:
- cd ${TRAVIS_BUILD_DIR}/build
- make -j2
- make -j4
- ./tests
- echo -e "travis_fold:start:COVERALLS folding starts"
- if [[ -n $COVERALLS_REPO_TOKEN && ${COVERAGE} == "1" ]]; then
Expand All @@ -38,6 +34,10 @@ addons:
packages: &shared_linux_packages
- xorg-dev
- libgl1-mesa-dev
- ccache
homebrew:
packages:
- ccache

env:
global:
Expand All @@ -46,6 +46,13 @@ env:
- COVERITY_SCAN_NOTIFICATION_EMAIL="4f7f3a820da643d180486972f68a251f.protect@whoisguard.com"
- COVERITY_SCAN_BUILD_COMMAND_PREPEND="cov-configure --comptype g++ --compiler g++-7 --template && cd build"
- COVERITY_SCAN_BUILD_COMMAND="make -j2"
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- CCACHE_COMPRESS=1
- CCACHE_DIR=${HOME}/.ccache

cache:
directories:
- ${HOME}/.ccache

matrix:
fast_finish: true
Expand Down

0 comments on commit c036b71

Please sign in to comment.