mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-04 01:02:39 +02:00
[travis] testing deployment code
This commit is contained in:
parent
b4b5a51295
commit
4db44f42fc
1 changed files with 5 additions and 1 deletions
|
|
@ -60,6 +60,10 @@ before_deploy:
|
||||||
- sphinx-apidoc -o source/ ../GPy
|
- sphinx-apidoc -o source/ ../GPy
|
||||||
- make html
|
- make html
|
||||||
- cd ../
|
- cd ../
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]];
|
||||||
|
then export DIST='sdist';
|
||||||
|
elif [[ "$TRAVIS_OS_NAME" == "osx" ]];
|
||||||
|
then export DIST='bdist_wheel';
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
|
|
@ -70,5 +74,5 @@ deploy:
|
||||||
tags: false
|
tags: false
|
||||||
branch: devel
|
branch: devel
|
||||||
server: https://testpypi.python.org/pypi
|
server: https://testpypi.python.org/pypi
|
||||||
distributions: "sdist", 'bdist_wheel'
|
distributions: $DIST
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue