Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved static/dynamic analysis configs (#29)
Travis now passes!
- Loading branch information
Showing
10 changed files
with
38 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
language: python | ||
cache: pip | ||
|
||
python: | ||
- 3.6 | ||
- "3.6" | ||
|
||
before_install: | ||
- sudo rm -f /etc/boto.cfg | ||
|
||
install: | ||
- sudo apt-get update | ||
- wget -O miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
- 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 info -a | ||
- conda install virtualenv # Use conda's virtualenv for Tox | ||
- pip install codecov tox-travis | ||
- pip install requests jinja2 anaconda-client | ||
- conda update --quiet conda | ||
- conda info --all | ||
- conda config --add channels defaults | ||
- conda config --add channels conda-forge | ||
- conda config --add channels bioconda | ||
- conda create -q -n snakemake snakemake virtualenv python=$TRAVIS_PYTHON_VERSION | ||
- source activate snakemake | ||
- pip install ./ | ||
- pip install --requirement test-requirements.txt codecov tox | ||
|
||
script: | ||
- tox | ||
- conda build conda-recipe | ||
- source activate snakemake | ||
- ./run-tests | ||
|
||
after_success: | ||
- codecov | ||
# after_success: | ||
# - source activate snakemake | ||
# - codecov | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ exclude = ''' | |
\.git | ||
| \.mypy_cache | ||
| \.tox | ||
| \.snakemake | ||
| venv | ||
| _build | ||
| buck-out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -eou pipefail | ||
|
||
pytest -v -s | ||
tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,3 @@ channels: | |
- bioconda | ||
dependencies: | ||
- bedtools | ||
- pip: | ||
- snakescale>=0.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters