forked from DEploid-dev/DEploid
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
35 lines (32 loc) · 1.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: cpp
os:
- osx
- linux
compiler:
- gcc
- clang
before_install:
- echo $LANG
- echo $LC_ALL
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq; sudo apt-get install -qq libcppunit-dev valgrind r-base-core lcov python-pip doxygen graphviz; pip install --user cpp-coveralls cpplint; fi
- if [ $TRAVIS_OS_NAME == linux ]; then apt-cache policy zlib*; fi
- if [ $TRAVIS_OS_NAME == osx ]; then rvm get 1.29.3; brew update; brew doctor; rvm install 2.3.3; fi
#- if [ $TRAVIS_OS_NAME == osx ]; then brew tap homebrew/homebrew-core; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew update ; fi
#- if [ $TRAVIS_OS_NAME == osx ]; then brew install llvm cppunit valgrind zlib && brew link --force llvm; fi
#- if [ $TRAVIS_OS_NAME == osx ]; then brew install llvm cppunit valgrind zlib ; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew install llvm cppunit zlib ; fi
- if [ $TRAVIS_OS_NAME == linux ]; then .ci/style.sh; fi
before_script:
- ./bootstrap
script:
- make
- make check
- if [ $TRAVIS_OS_NAME == linux ]; then ./tests/test_binary.sh; fi
- ./tests/testPOS.sh
- ./tests/test_binaryVcfVsTxt.sh
- ./tests/test-against-previous-version.sh
- ./tests/test_binaryReproducible.sh
- if [ $TRAVIS_OS_NAME == linux ]; then cd docs/doxygen; doxygen Doxyfile; cd ../..; fi
after_success:
- coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --exclude src/gzstream/ --gcov-options '\-lp'