-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.travis.yml
45 lines (37 loc) · 969 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
language: python
python:
- "3.7"
- "3.8"
- "3.9"
# Apply only on main branches
branches:
except:
- /^feat.*$/
- /^issue.*$/
# command to install dependencies
before_install:
- PV="2.6.3"
- wget https://github.com/hyattpd/Prodigal/archive/v${PV}.tar.gz
- tar -xf v${PV}.tar.gz
- cd Prodigal-${PV} && make && sudo make install
- cd -
- PV="1.1.4"
- wget http://eddylab.org/infernal/infernal-${PV}.tar.gz
- tar -xf infernal-${PV}.tar.gz
- cd infernal-${PV} && ./configure && make && sudo make install
- cd -
- PV="3.3.2"
- wget http://eddylab.org/software/hmmer/hmmer-${PV}.tar.gz
- tar -xf hmmer-${PV}.tar.gz
- cd hmmer-${PV} && ./configure && make && sudo make install
- cd -
# command to install integron_finder
install:
- pip install .
- pip install coverage
# test integron_finder
script:
- coverage run --source integron_finder tests/run_tests.py -vv
- coverage report
after_success:
- coveralls