Skip to content

Commit 3b3cfa0

Browse files
committed
production pypi
1 parent 27f0600 commit 3b3cfa0

File tree

1 file changed

+60
-70
lines changed

1 file changed

+60
-70
lines changed

.travis.yml

Lines changed: 60 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,69 @@
1-
dist: xenial # Currently required for Python 3.7
1+
dist: xenial
22
language: python
33
cache: pip
4-
54
python:
6-
- "2.7"
7-
- "3.4"
8-
- "3.5"
9-
- "3.7"
10-
# 3.6 handled during code coverage
11-
5+
- '2.7'
6+
- '3.4'
7+
- '3.5'
8+
- '3.7'
129
env:
13-
- PYTHONPATH=$PYTHONPATH:./src
14-
10+
- PYTHONPATH=$PYTHONPATH:./src
1511
install:
16-
- pip install -r test_requirements.txt
17-
12+
- pip install -r test_requirements.txt
1813
script:
19-
- pytest
20-
14+
- pytest
2115
jobs:
2216
include:
23-
- stage: upload codecov results
24-
python: 3.6
25-
install:
26-
- pip install pytest pytest-cov codecov
27-
- pip install -r test_requirements.txt
28-
script:
29-
- pytest --cov=./
30-
- codecov
31-
32-
- stage: create release
33-
if: tag is present
34-
python: 3.6
35-
install: pip install sphinx
36-
script:
37-
- sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
38-
- pushd ./doc/_build/html ; zip -r ../../../${TRAVIS_TAG}-doc.zip . ; popd
39-
deploy:
40-
provider: releases
41-
skip_cleanup: true
42-
api_key: $GITHUB_TOKEN
43-
file: ${TRAVIS_TAG}-doc.zip
44-
draft: true
45-
on:
46-
tags: true
47-
48-
- stage: upload documentation
49-
if: tag is present
50-
python: 3.6
51-
install: pip install sphinx
52-
script:
53-
- sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
54-
- touch ./doc/_build/html/.nojekyll
55-
deploy:
56-
provider: pages
57-
skip_cleanup: true
58-
github_token: $GITHUB_TOKEN
59-
keep_history: false
60-
local_dir: ./doc/_build/html
61-
on:
62-
tags: true
63-
64-
- stage: deploy to pypi (test)
65-
if: tag is present
66-
script: # Cancel out default script
67-
-
68-
deploy:
69-
provider: pypi
70-
server: https://test.pypi.org/legacy/
71-
user:
72-
secure: uHXdHqYzzi/2Gc9/8kP4nBKAf2zgIOri1bHWnmgNoBNhWJuma4MWMuMUCzQU+QbrMvOiOm+EZRz1+rBXDOsqa7T+22OZRMBIUFfc3BG5ItYm8DXOUznWLy2/32yQngEohpYwnZuzvS3zUbVZ94a9m0qWjRi+4JHQhh8EKANeGbByBNwPBFh9ysbM8Vl7jiM0LUPinO1OtgPIiDqzP5Zm6Vxnhh7ZlR6wPUs87yPrHKBAUiZkXBNrVr4f/3cY+PrxRtvptVH5SmuApz3oJFl54XavJPYwVNlnEddk8KATpNIVtpq4E9arn/ptvacsiO2QmxxET7Sp3IJ6Uzl/nFDdYIg/yaID0zHBfViy/0pdC6P6aylTS4iqO33gNS4cp2wrNQe424v2YkgRkPNX5wxkCZtwtZsIUiPMLnD2RMTgQdfbDgF+yQ/WOwgDapcoa3HYHLajfNzzGF3bW4hLdc6w7xer/LyhGQ/FxUClg4TrfwXErQ6DU+BPl+MSZEKw3B3nxtEpsX6yzJkKcx4xmrHj9W/WJk5zicjGq7LH+zTJia6Yl4Rr/IMtgfUruZhqRwIT5pOTnDYnroFfZH6/TbpAhC33iGlmr5Td1Fmrrc56Isj7eQH6J1zhH8oy4ZkN2ZqcyT3KxQwDdE9lNJvUHhTZlAYvoO1QvvzS/4dTWPqNxKc=
73-
password:
74-
secure: wTwws6xBoptSsNP4Yr5/W1yRfOLmrQynnyQGmAFAlr3t9Xkf56fNLPhLN54Q3zLP+au9pb8OzNqAu2fbwXuS/rj+M/Jqy8JLICeyivVN4UNnYfc4ICJYJUk6Y1w16brzJDtVO0WuGLsR6ENp6JBBzMglCfgjGIU3zYv/bSUz0NZudXJKl03pBNQA/EFEmjqcotkSwTLcRnuYjKZvoROsH4MAgHdVz28MpzeAFRTaqJZ/u3hV6aG3BAQIezSOyDuWB4iymgh+6svxgLyTmmCgdvaS+IVT5pKSKIyv22WG8HdGMJG6FAGsHbREdpSOx2Y7Sn1gM0+AJeKH0okxCB299B2/7zcO/T9vjqV6JH8fmM+Utm3oj5LLse8ckQnVeQDAZlUgsEs4hul5V2LkvUrKklO6yaJrUnUBTBHSe08axw/LxhFhYSBPc87VqlG1bjvberLOw3FB/5BaObYFOH2KOetNJ4cIscFQvNFBQ0ZP36qrmwwa4h4YlUIRRY9ZMivPFuuTevcloKer4423/HaTi7CZU26niBma9UuORdIbc2YDLRc/DIztGBaTp7ZwNXlFfVZ8jkXYHov4aU5xKoehPFLcko1Ltii9BpH8Rv1b7GW09G3QPpB9Mx3RuG9GFQgvkD6nZI/hpyXooBphklPzG88m6EmzfGsojJlDqoPExJs=
75-
distributions: sdist bdist_wheel
76-
on:
77-
tags: true
78-
17+
- stage: upload codecov results
18+
python: 3.6
19+
install:
20+
- pip install pytest pytest-cov codecov
21+
- pip install -r test_requirements.txt
22+
script:
23+
- pytest --cov=./
24+
- codecov
25+
- stage: create release
26+
if: tag is present
27+
python: 3.6
28+
install: pip install sphinx
29+
script:
30+
- sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
31+
- pushd ./doc/_build/html ; zip -r ../../../${TRAVIS_TAG}-doc.zip . ; popd
32+
deploy:
33+
provider: releases
34+
skip_cleanup: true
35+
api_key: "$GITHUB_TOKEN"
36+
file: "${TRAVIS_TAG}-doc.zip"
37+
draft: true
38+
on:
39+
tags: true
40+
- stage: upload documentation
41+
if: tag is present
42+
python: 3.6
43+
install: pip install sphinx
44+
script:
45+
- sphinx-build -Ean -b html -j auto -D todo_include_todos=0 ./doc ./doc/_build/html
46+
- touch ./doc/_build/html/.nojekyll
47+
deploy:
48+
provider: pages
49+
skip_cleanup: true
50+
github_token: "$GITHUB_TOKEN"
51+
keep_history: false
52+
local_dir: "./doc/_build/html"
53+
on:
54+
tags: true
55+
- stage: deploy to pypi (test)
56+
if: tag is present
57+
script:
58+
-
59+
deploy:
60+
provider: pypi
61+
server: https://pypi.org/legacy/
62+
user:
63+
secure: P/OSEYASobwUXg/fmXva+fOSjg1exEavloTWp2gDGI/KJePD00DdR1QGwA3SUMozany0umTMPKDehHJotz0NaltcT6wYiITW1wxvwpKIz3vyqcpntxQzTAgqSfsPygdvt1zLKq09EuxDBDfTdlNp7F6nw+0E2gyg4/jG950zMfLbGB1s80uUiCuNEuuKTQY+6BMNguBlkHlfgh1ETFv05OR0W1vGIFOgwWLSFvIqFWTNQynk0uRjrQneSzGViqpWE3O/nVI22ri9xwHzawwvUcCtyozCpPeTTMZ7dflyYrWcqIj/D0Hz0zITXPUkBye244kXKp5oy0zV4uDSoBbpljRBo+tRSBIuFHta5iBFTcLCaWn03y+enxV2CwgFsGS4TjPSoXMO4LMcVmkwzWFwUQDym1wH3gYhG7z04YkFmJA7OvQUdtZg5qIUEhaJ94v/sQUB2QaFqoG71bpcvLxpHiT/lMYjkoaaPOeGeYtk4b5XQt7q3RU51HOM1nVD9JrYcraS6o+Ufv8O58l9oRJjxF0eks5wEBd/Yef5eqYeOrXCJlHTQYaVD50+XT4dyqxYn8cfx2J41HzkbfQchjk7Kd3vuvrY9Ove3DS6A/FtH+00cW0J0jzxqt84xYtBBUspyzTG2A0HEaHd5kuD178RpDzce2EbD7rrLDbabMmTPq8=
64+
password:
65+
secure: k74kID3TJ1ujvJzsvkHHOTZoE/IuM2s5rpiJj/PfYwgMJKjZ6r/w/oxCGMUlgCcjz1pEjL5aF2REAa789DgbZ2tN9zepN2wPtWSFR02LeeQ7KiwhjXHSiP5momn7QE4j1aKkgv4DpAbWW/pEDh2lxZY513FfxnSXlYr0LoJ2j2pzOH3x3tBx7R1nGBqVEFHfCZkll9KXZAGL15eWHi+dODsmWIfQXSaSJp8XJCIlvQoyvNUX36Hrn6saB1vVHiNkGqojVfTFzb3ZfocHenaZFWYeUWLbgZr0gJKbXeYEkMViuUDxbuGI4tq+46cTnbhTcoQTtRasowaN3htQMPxHTJMFz5D4tobTILwtc57d3Zdl3Za9k2xTa9z3GRO6V0XMOWQtIoExW/Dox/2g2v+l0X+zueldiVLQT4HwFVe/kdteIUcQXKMjBKrgwsOeV1Ib8baDpqh03QK+rDMFlQ90v+icHc/GVazY2Rg+rCPe7d3QXEjGwamk6zWft/NLajgPB5e+XS43Q/k4CbYG8oxesrflzgiVmosUS8TaKZ95EU7aFuCTcMAfNXWzlf6tSDszLaXP5oTywTrxThO4eHknplrSRW/vY58lD+GI+b2iY9D9peaLkxx7B3uZ1099FAq+vqh9EHI7xu7vZDbUKCwaP5GUsE7acpHRqHruwpXIWL8=
66+
distributions: sdist bdist_wheel
67+
on:
68+
tags: true
7969

0 commit comments

Comments
 (0)