-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
60 lines (53 loc) · 1.21 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
57
58
59
60
language: python
branches:
only:
- master
python:
- "3.7"
cache:
directories:
- $HOME/.pip-cache/
compiler:
- gcc
addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- gfortran
- libopenblas-dev
- liblapack-dev
- cmake
- g++-7
- gcc-7
before_install:
- sudo chmod 777 /usr/local/bin
- git clone https://github.com/veg/tn93.git
- git clone https://github.com/veg/hyphy-python.git
- export CXX="g++-7" CC="gcc-7"
- cd tn93/ && cmake -DCMAKE_C_COMPILER=gcc-7 ./ && make install && cd ../
install:
- pip install --upgrade pip
- pip install --upgrade wheel
- pip install biopython
- pip install numpy
- pip install cython
- pip install -r requires.txt
- cd hyphy-python/ && CC=gcc CXX=g++ python setup.py install && cd ../
- travis_wait
- pip -v install scipy
- pip install coveralls
script:
- python setup.py install
- python -c 'import hivtrace'
- nosetests --with-coverage
notifications:
email:
recipients:
- steven@stevenweaver.org
on_success: change
on_failure: always
after_success:
- coveralls