-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
27 lines (23 loc) · 897 Bytes
/
.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
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 == linux ]; then .ci/style.sh; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew bundle; fi
before_script:
- ./bootstrap
script:
- make
- make check
- ./lasso data/panel_chrom1.txt data/PG0402-C_chrom1.wsaf > /dev/null
- if [ $TRAVIS_OS_NAME == linux ]; then valgrind ./unit_tests; fi
after_success:
- coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --exclude src/gzstream/ --gcov-options '\-lp'