-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (27 loc) · 851 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
language: python
sudo: false
python:
- "3.6.6"
# Install miniconda
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda update --yes conda
# Install the codecov pip dependency
install:
- conda config --add channels defaults
- conda config --add channels bioconda
- conda config --add channels conda-forge
- conda create --yes -n mash_env python=$TRAVIS_PYTHON_VERSION
- conda install --yes -c bioconda mash=2.1.1 -n mash_env
- conda install --yes -c bioconda faqcs -n mash_env
- source activate mash_env
- pip install codecov
- pip install pytest pytest-cov
- python setup.py install
script:
- pytest --cov=./
after_success:
- bash <(curl -s https://codecov.io/bash)
- codecov