-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
executable file
·56 lines (52 loc) · 1.47 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: cpp
os:
- osx
- linux
addons:
homebrew:
update: true
brewfile: true
apt:
packages:
- libcppunit-dev
- valgrind
- r-base-core
- lcov
- python-pip
- doxygen
- graphviz
compiler:
- gcc
- clang
before_install:
- echo $LANG
- echo $LC_ALL
- if [ $TRAVIS_OS_NAME == linux ]; then 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
before_script:
- ./bootstrap
script:
- make
- make check
- sudo make install
- 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
- rm -r *
- wget --no-check-certificate https://github.com/DEploid-dev/DEploid/archive/master.tar.gz -o /dev/null
- tar -xf master.tar.gz
- cd DEploid-master
- ./bootstrap
- make; make check
- cd ..; rm -r *
- wget --no-check-certificate https://github.com/DEploid-dev/DEploid/archive/master.tar.gz -o /dev/null
- tar -xf master.tar.gz
- mv DEploid-master/* .
- ./bootstrap
- make; make check
after_success:
- coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --exclude src/gzstream/ --gcov-options '\-lp'