Permalink
Browse files

add travis config from diagnose_dups

  • Loading branch information...
1 parent 0d8ebf4 commit febb0e01107839df2f1a46679d22181ee4d1ddcb @ernfrid ernfrid committed Dec 18, 2015
Showing with 44 additions and 0 deletions.
  1. +44 −0 .travis.yml
View
@@ -0,0 +1,44 @@
+language: cpp
+
+os:
+ - linux
+ - osx
+
+compiler:
+ - gcc
+ - clang
+
+notifications:
+ email:
+ on_failure: always
+ on_success: change
+
+sudo: false
+
+matrix:
+ exclude:
+ - os: osx
+ compiler: gcc
+
+addons:
+ apt:
+ packages:
+ - cmake
+
+before_install:
+ - export PATH=$HOME/.local/bin:$PATH
+ - pip install cpp-coveralls --user `whoami`
+
+before_script:
+ - cd $TRAVIS_BUILD_DIR
+ - mkdir build
+ - cd build
+ - cmake .. -DCMAKE_BUILD_TYPE=coverage
+ - make VERBOSE=1
+
+script:
+ - ctest -V
+
+after_success:
+ # as described at: https://github.com/eddyxu/cpp-coveralls
+ - coveralls -E '.*test.*' -E '.*vendor.*' -E '/usr.*' -E '.*CMake.*' --gcov-options '\-lp' -r ..

0 comments on commit febb0e0

Please sign in to comment.