Skip to content

Commit

Permalink
Chore: Update .travis.yml
Browse files Browse the repository at this point in the history
1. Support for `coverage` and `codecov`
2. Update `Python` version to `3.8`
  • Loading branch information
dileep-kishore committed Jan 19, 2021
1 parent 87cfc0a commit 24128c9
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
language: python

python: 3.6
python: 3.8

install:
- 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"
- conda env create -f env_dev.yml -n mindpipe-test
- source activate mindpipe-test
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda env create -f env.yml -n micone-test
- source activate micone-test
- nextflow self-update
- pip install .

script:
- mindpipe init
- pytest -sv --cov=mindpipe
- flake8 mindpipe
- travis-sphinx build --source=docs --nowarn
# - micone init
- pytest -sv --cov=micone
- flake8 micone

deploy:
provider: pypi
Expand All @@ -26,4 +27,4 @@ deploy:
tags: true

after_success:
- travis-sphinx deploy
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 24128c9

Please sign in to comment.