Skip to content

Commit

Permalink
returned travis
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-pronina committed Apr 25, 2016
1 parent c1ca34b commit 446dad0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
sudo: false

notifications:
email: false

language: cpp

os:
- linux
- osx

compiler:
- gcc
- clang

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

install:
- wget https://codecov.io/bash -O $HOME/codecov; chmod +x $HOME/codecov

before_script:
- coverage=OFF
- if [ "$CXX" = "g++" ]; then
export CXX="g++-4.8" CC="gcc-4.8";
if [ $TRAVIS_OS_NAME = linux ]; then coverage=ON; fi
fi

script:
- ./build-and-test.sh

after_success:
# Push coverage info on codecov.io
- if [ "${coverage}" = "ON" ]; then
$HOME/codecov
-p ../devtools_build
-x /usr/bin/gcov-4.8;
fi

0 comments on commit 446dad0

Please sign in to comment.