Skip to content

Commit

Permalink
address #37 and #25
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Aug 25, 2017
1 parent 7652beb commit b9d0d7d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ language: generic

matrix:
include:
- os: linux
sudo: false
env: CXX=g++-4.9
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'g++-4.9' ]
- os: linux
sudo: false
env: CXX=g++-5
Expand All @@ -23,6 +30,23 @@ matrix:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'libstdc++6', 'libstdc++-5-dev' ]
- os: linux
sudo: false
env: CXX=clang++ CXXFLAGS="--coverage" LDFLAGS="--coverage"
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'libstdc++6', 'libstdc++-5-dev' ]
# override to run coverage builds
script:
- make debug
- make test
# MASON_LLVM_RELEASE comes from the setup.sh script
- mason install llvm-cov ${MASON_LLVM_RELEASE}
- mason link llvm-cov ${MASON_LLVM_RELEASE}
- curl -S -f https://codecov.io/bash -o codecov
- chmod +x codecov
- ./codecov -x "llvm-cov gcov" -Z

env:
global:
Expand Down

0 comments on commit b9d0d7d

Please sign in to comment.