Skip to content

Commit

Permalink
Travis: deploy constructor to GH releases only on Py36
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Feb 16, 2018
1 parent bbf508d commit e819fff
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,11 @@ install:
- travis_wait conda build -c omnia -c bioconda devtools/conda-recipe

before_deploy:
- pip install -U https://github.com/jaimergp/constructor/archive/master.zip
- constructor .
- if [ "${MYCONDAPY}" = "3.6" ]; then
pip install -U https://github.com/jaimergp/constructor/archive/master.zip &&
constructor .
done
-

deploy:
# Deploy to Anaconda.org
Expand All @@ -118,3 +121,4 @@ deploy:
on:
tags: true
repo: insilichem/ommprotocol
condition: "${MYCONDAPY}" = "3.6"

0 comments on commit e819fff

Please sign in to comment.