mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
[travis] condition
This commit is contained in:
parent
87af7e2525
commit
78f7ef3e43
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue