Skip to content

Commit 8bdef08

Browse files
committed
deploying travis releases to github
1 parent 1cb0c73 commit 8bdef08

1 file changed

Lines changed: 36 additions & 29 deletions

File tree

.travis.yml

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
language: python
22
os:
3-
- linux
3+
- linux
44
env:
5-
global:
6-
- _latest=3.6
5+
global:
6+
- _latest=3.6
77
python:
8-
- 2.7
9-
- 3.4
10-
- 3.5
11-
- 3.6
8+
- 2.7
9+
- 3.4
10+
- 3.5
11+
- 3.6
1212
# osx builds, see https://github.com/travis-ci/travis-ci/issues/2312
1313
# osx builds take too long on travis, turning off for now
1414
#matrix:
@@ -27,28 +27,35 @@ python:
2727
# env:
2828
# - _osx_install=python3
2929
before_install:
30-
- |
31-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
32-
if [ -n "$_osx_install" ]; then
33-
brew update && brew install "$_osx_install"
34-
fi
35-
fi
36-
# prepare test coverage for latest python version only
37-
if [ "$TRAVIS_PYTHON_VERSION" == "$_latest" ]; then
38-
pip install python-coveralls
39-
fi
30+
- |
31+
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
32+
if [ -n "$_osx_install" ]; then
33+
brew update && brew install "$_osx_install"
34+
fi
35+
fi
36+
# prepare test coverage for latest python version only
37+
if [ "$TRAVIS_PYTHON_VERSION" == "$_latest" ]; then
38+
pip install python-coveralls
39+
fi
4040
install:
41-
# runtime dependencies
42-
- pip install devpi-client
43-
# test dependencies
44-
- pip install pytest-runner pytest-cov pytest-mock
45-
# static code analysis
46-
- pip install flake8
41+
- pip install devpi-client
42+
- pip install pytest-runner pytest-cov pytest-mock
43+
- pip install flake8
4744
script:
48-
- python setup.py test flake8 bdist_wheel
45+
- python setup.py test flake8 bdist_wheel
4946
after_success:
50-
- |
51-
# run test coverage for latest python version only
52-
if [ "$TRAVIS_PYTHON_VERSION" == "$_latest" ]; then
53-
coveralls
54-
fi
47+
- |
48+
# run test coverage for latest python version only
49+
if [ "$TRAVIS_PYTHON_VERSION" == "$_latest" ]; then
50+
coveralls
51+
fi
52+
deploy:
53+
skip_cleanup: true
54+
provider: releases
55+
api_key:
56+
secure: lfoVhw3l33gVOb7p0C7dvxZmRAi3T94iZTrcuSaerIR1TCMJWJ9IPPFPwD67UqNBB59Wjefl4PhuemWXYgtKiDOHAC4qihVVww9n/Fn8Y5M8vK2aiU97+IUzSqfQsQZQKo0yPb0dmROtrGOJYrODoV9H0dbs624M0Q0/oKK4B83N4cs7M93iXLkPfjDOCfUhcqBSlCpuUt9g1Yr6xjObmUXDVhrNDZNzmasajOFDpHQthFEZobK1abvW3ceLvuw0FzC5fZaFgbNZkRXBwQN1kTSezJa9bicnTDoAetAp0+J0yTGn6huCFYv9G8KwIWIqEIi4qclX+nhQxx+cV5D6OnxTt5AmmslrvAg72FNt2jv7eY/q8eCTswlqNzkHrVp4RDzZMiyky3U8OJIZwcf7A7L1V/M1vkwNHUYbihmZl7Yra/itYq213ZWYkRIlShnwSlhMKjJpS0egoBNcb7uMSPsFAMIehtfnk0p0F92l2VaE0M9nFzPU9iKAmxkab0I+cfzQK/q4oTZZhuPZ9eFjFV/xo3rJ7+mbo7Zb3pYwvPYT9LfjWmhpFtLrKMAMJ4wiqcqDhRVG7s75GcwaJcrvm+7FiyFfnninWjyQol8SGyCIA2as92o1OfY5SqIA4O3GmOsHNdJyqhWAY6RWSLRGIZKzgDIZe29W4RE6I+gvmlA=
57+
file_glob: true
58+
file: dist/*.whl
59+
on:
60+
tags: true
61+
repo: hoefling/devpi-client-extensions

0 commit comments

Comments
 (0)