Skip to content

Commit

Permalink
update travis, added more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdHarry committed Apr 17, 2020
1 parent 6916020 commit 563a0f9
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
dist: bionic
language: python
before_install:
- sudo apt-get update
- sudo apt-get update
python:
- "3.8"
- '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
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment -c conda-forge -c bioconda -y python=$TRAVIS_PYTHON_VERSION clang gxx_linux-64 make samtools=1.10 pytest
- conda activate test-environment
- ./install
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment -c conda-forge -c bioconda -y python=$TRAVIS_PYTHON_VERSION
clang gxx_linux-64 make samtools=1.10 pytest
- conda activate test-environment
- "./install"
script:
- pytest -v
- pytest -v
before_deploy:
- echo "Auto release generated by Travis CI on "$(date +'%Y:%m:%d at %H:%M:%S') > release_notes
- echo "Auto release generated by Travis CI on "$(date +'%Y:%m:%d at %H:%M:%S') >
release_notes
- export release_name="PretextMap-"$(git describe --tags)
deploy:
edge: true
provider: releases
token: "$GITHUB_TOKEN"
file: release_notes
name: "$release_name"
body: "Auto-generated release by Travis CI"
body: Auto-generated release by Travis CI
prerelease: true
on:
tags: true
env:
secure: dGBrOPz0Wr690rQ5SQEnSBpgsuMN67BEnkp9In8Cqry6wpZNzMkvopO+b6Glxpjrd2VLisALFmgazpB2zLsLuL9pi4sgVQlrx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171Bg+tnRVAPkjhjVefUxqZSc4XNf936wJXorBUHNPW28aB5p2JXiOk/9unKeOpTXI/I/KMauyq9mExUrS3dzv6+X98V2HO8mmSv1q1DGY6chzz0zlnnvIOJfJ5oVr42VhuwdygyCPWhxUxRI/fBM9qis742saZ/IVkrLnI2H8nlLyQG4dlK9h5Cc=

0 comments on commit 563a0f9

Please sign in to comment.