-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
47 lines (41 loc) · 1.87 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
language: python
python:
- "3.5"
- "3.6"
- "3.7"
# We want to test against two versions of Primer3
env:
- PRIMER3_VERSION=1.1.4
- PRIMER3_VERSION=2.3.7
# command to install dependencies
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda config --add channels defaults
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- conda install prodigal blast bedtools mafft mummer=3.23 emboss primer3=$PRIMER3_VERSION
- conda install --yes --file requirements.txt
- conda install --yes --file requirements-dev.txt
- pip install -r requirements-pip.txt
- pip install -e .
# command to run tests
script:
- pytest -s -v --cov=./
dist: xenial
sudo: false
# Use codecov for code coverage
after_success:
- codecov
# Send Travis-CI updates to Slack
notifications:
slack:
secure: l0CfKvamI2SZFvgSsVMQhad6nbXGS42TKKvX4Iv9zL+T1nAIh47hOtko0f/GwtxUU3d+7O30iGM33yqDN9o9tIb2FkxG7atnKxpzLev2/Z0LuyBHQvD54o91ihJRowV5O0PALMzbOdN3qQIoUBFq9ohF9Dd+X/OymImYSdtTMzI0o2QmDnDxHtyKAc3bqS1OmnGraiEy4A7HnwL70mUDfhJapuyLuCDCI4mTGCtbjSCwlyObvCpUt0BwTtcEH5sysn0nlmeqMMpN74Z32coRJTXMtwb2Qgk8aof+IcDJ3HKpM0LHg5l/BiqCfCmEUXpFO/UKg48TY3kSUWlTRg75Ch+BzHHahIhlYg0JaQHWb9HtxXzWfQUh7pTivB0H5D2dhF1l7O+W5/D17iAzJbKnHbr3v3k1kQ9pi7sPxZOlauUSEvgSGcytVVmU9AbZAMo7lMys5mPozF6kdddA1+Ul85Pc/sKbTDOGnbSnswknO++WGV4Po3r36w2ZJCM3mtADKpB1YlyP0pGV66lykD3snSyudNQVbJL9x9W1p0rwLZA+cZyZlYEprtDPfexkCGSeFtOJkJOilt6OPe/GxG39TX8D4dit61/6JVJVru5FwbGj6piFxOZmzzz6sgyIGZsMCQKfd1dIR16qosAFnayxEC391IJ7Y3rlfr89ESBcYwE=