File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1010 - PIP_CACHE="$HOME/.pip_cache"'
1111 - RUN_SCRIPT="./travis/run_tests.sh"
1212 - POSTGRES_DB=elasticapm_test
13+ - TWINE_USERNAME=piquadrat
1314 matrix :
1415 - WEBFRAMEWORK=django-master
1516 - WEBFRAMEWORK=flask-master
@@ -38,7 +39,13 @@ matrix:
3839 sudo : required
3940 services :
4041 - docker
41- script : pip install cibuildwheel==0.6.0 && mkdir -p wheelhouse/${TRAVIS_TAG} && cibuildwheel --output-dir wheelhouse/
42+ script :
43+ - pip install cibuildwheel==0.6.0
44+ - cibuildwheel --output-dir wheelhouse/
45+ - python -m pip install twine
46+ - python setup.py sdist
47+ - python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*.tar.gz
48+ - python -m twine upload --repository-url https://upload.pypi.org/legacy/ wheelhouse/*.whl
4249 env :
4350 - CIBW_ENVIRONMENT="PIP_CACHE=/host/.pip"
4451 - CIBW_BEFORE_BUILD="rm -rf build elastic_apm.egg-info tests"
You can’t perform that action at this time.
0 commit comments