Skip to content

Commit

Permalink
[travis] condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mzwiessele committed Apr 21, 2016
1 parent 87af7e2 commit 78f7ef3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ before_deploy:
- make html
- cd ../
- if [[ "$TRAVIS_OS_NAME" == "linux" ]];
then
then
export DIST='sdist';
elif [[ "$TRAVIS_OS_NAME" == "osx" ]];
then
then
export DIST='bdist_wheel';
fi;

Expand All @@ -63,6 +63,6 @@ deploy:
on:
tags: true
branch: deploy
condition: "$TRAVIS_OS_NAME" == "osx" || ( "$TRAVIS_OS_NAME" == "linux" && "$PYTHON_VERSION" == "2.7" )
#condition: "$TRAVIS_OS_NAME" == "osx" || ( "$TRAVIS_OS_NAME" == "linux" && "$PYTHON_VERSION" == "2.7" )
distributions: $DIST
skip_cleanup: true

0 comments on commit 78f7ef3

Please sign in to comment.