File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -62,21 +62,9 @@ install:
62
62
- ccache -s
63
63
script :
64
64
- make tests
65
- before_deploy :
66
- - |
67
- pip install -U wheel
68
- pip install twine
69
65
deploy :
70
66
provider : script
71
- script :
72
- - |
73
- cd $TRAVIS_BUILD_DIR
74
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ ${SDIST+x} ]; then
75
- twine upload -u $PYPI_USER -p $PYPI_PASS --skip-existing dist/*.tar.gz
76
- elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
77
- PB_NATIVE_SIMD=OFF python setup.py bdist_wheel --plat-name macosx-10.9-x86_64
78
- twine upload -u $PYPI_USER -p $PYPI_PASS --skip-existing dist/*.whl
79
- fi
67
+ script : $TRAVIS_BUILD_DIR/support/deploy.sh
80
68
skip_cleanup : true
81
69
on :
82
70
tags : true
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ cd $TRAVIS_BUILD_DIR
4
+ pip install -U wheel
5
+ pip install twine
6
+
7
+ if [ " $TRAVIS_OS_NAME " = " linux" ] && [ -d " $TRAVIS_BUILD_DIR /dist" ]; then
8
+ twine upload -u $PYPI_USER -p $PYPI_PASS --skip-existing dist/* .tar.gz
9
+ elif [ " $TRAVIS_OS_NAME " = " osx" ]; then
10
+ PB_NATIVE_SIMD=OFF python setup.py bdist_wheel --plat-name macosx-10.9-x86_64
11
+ twine upload -u $PYPI_USER -p $PYPI_PASS --skip-existing dist/* .whl
12
+ fi
Original file line number Diff line number Diff line change 1
- Support scripts for Read the Docs.
1
+ Support scripts for Read the Docs and PyPI deployment .
You can’t perform that action at this time.
0 commit comments