Skip to content

Commit fb0f39f

Browse files
authored
Merge pull request #225 from NREL/travis_deploy
Fix travis PyPI deploy condition
2 parents cac6c35 + 67b4f70 commit fb0f39f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ python:
1616
env:
1717
- REQ_ENV='-r requirements.txt .[test]'
1818
- REQ_ENV='-r requirements-min.txt .[test]'
19-
- REQ_ENV='--upgrade --upgrade-strategy=eager .[test]'
19+
- REQ_ENV='--upgrade --upgrade-strategy=eager .[test]' # if changing this, change the deploy condition as well
2020

2121

2222
# PyPI doesn't have wheels built for the minimum requirements (e.g. numpy 1.12)
@@ -46,7 +46,7 @@ deploy:
4646
tags: true
4747
branch: master
4848
python: 3.6
49-
condition: $REQ_ENV == '--upgrade --upgrade-strategy=eager .'
49+
condition: $REQ_ENV == '--upgrade --upgrade-strategy=eager .[test]'
5050
distributions: "sdist bdist_wheel"
5151
skip_cleanup: true
5252
skip_existing: true

0 commit comments

Comments
 (0)