Skip to content

Commit b4eb6d0

Browse files
committed
Test travis deployment.
1 parent 4c84446 commit b4eb6d0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ install:
3232
- pip install hypothesis Cython wheel
3333

3434
script:
35+
- echo $TRAVIS_PYTHON_VERSION
3536
- python setup.py build_ext -i
3637
- HYPOTHESIS_PROFILE=ci python test.py
3738
- python -c "import cydoctest, pyroaring; cydoctest.testmod(pyroaring)" -v
@@ -45,3 +46,19 @@ script:
4546
- python setup.py sdist
4647
- pip install dist/pyroaring*.tar.gz
4748
- python test.py
49+
50+
before_deploy:
51+
- python setup.py bdist_wheel
52+
- python setup.py sdist
53+
- ls -l dist/
54+
deploy:
55+
provider: releases
56+
api_key: $GITHUB_TOKEN
57+
python: 3.6
58+
file_glob: true
59+
file: dist/*{tar.gz,whl}
60+
skip_cleanup: true
61+
on:
62+
branch: master
63+
tags: true
64+
condition: $TRAVIS_PYTHON_VERSION == 3.6

0 commit comments

Comments
 (0)