Skip to content

Commit ec1fc60

Browse files
authored
Merge pull request #13 from ocefpaf/TravisCI
add auto-publish
2 parents a81c226 + eba7e07 commit ec1fc60

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.travis.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
language: python
2+
3+
sudo: false
4+
5+
python:
6+
- 2.7
7+
- 3.4
8+
- 3.5
9+
- 3.6
10+
11+
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
12+
# see this issue for updates https://github.com/travis-ci/travis-ci/issues/9815
13+
matrix:
14+
fast_finish: true
15+
include:
16+
- python: 3.7
17+
dist: xenial
18+
sudo: true
19+
20+
before_install:
21+
- pip install -r requirements-dev.txt
22+
23+
install:
24+
- python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install stdlib-list-${version}.tar.gz && popd
25+
26+
script:
27+
# FIXME: add some real test.
28+
- python -c "import stdlib_list; print(stdlib_list.stdlib_list('$TRAVIS_PYTHON_VERSION'))"
29+
30+
deploy:
31+
skip_cleanup: true
32+
provider: pypi
33+
user: ocefpaf
34+
password:
35+
secure: "Q4v+Im8wOvYkCfszigRwh26DKSBpgJ49AGffkP3gb592z4uVtVH5DWdXyUE/9zK8qVk4uA5NEBJc8+mHFCztUlYYrPXZCVzX+NyUWv3rmMsDf8tV5Y+9J6pdw0Wx6DvI6nqKD6s2hKu4pey2UW8LO9HQIi97Hlo5Hd5ivbakVX8="
36+
distributions: sdist bdist_wheel
37+
upload_docs: no
38+
on:
39+
repo: jackmaney/python-stdlib-list
40+
tags: true
41+
all_branches: master
42+
python: 3.6

0 commit comments

Comments
 (0)