-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
33 lines (28 loc) · 1.26 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
dist: xenial
sudo: false
language: python
python:
- 3.6
- &latest_py3 3.7
jobs:
fast_finish: true
include:
- stage: deploy
if: tag IS present
python: *latest_py3
before_script: skip
env:
- TWINE_USERNAME=jaraco
# TWINE_PASSWORD
- secure: bUmPOW5SM/BE8xKeMiltQZywKS9p/NOlDuGY9+oZNzrDSBwOsgOgiXabHQ2jJUXWf0KxmsFwgMD1zwzNu4i/Z7vmpNEpGlXLUd09A0ZghIkImQztLxwFjWr5x7dBujFX8x1DS7n6tpHMCp8w9YrOBos2DpprmUMCrvdpu1oMAANGB0Bx1bsfB23mz0GCLaY3/J5ZfDrQPEHaIuwHQvkwsLWLuM/Vx/hjxSAUa5za/bHvizqwFKzBLot/OmTwZYZ8OFIHCA2rRNaIDF4Pze2nJQdbq/zXv7d46n+XWTpr4TS0FgvYrKzytUQET+wM0/aZIPlRFgnzKgJ03pbonz7vDL7zprln+JHiI5Zg/OIHIEBJWUOkhAdB2IcgM34RkD+7WrnIv9NNedy081H7Dp5aUXaklttfusCRv5zlVbwI5KCqyC0844FznQRNXC1ZtSI0srjYwiiQ9mkQoe8n+zXsTMU8LZHrqoe/r1sauailNNMGRD8FHPO/5HAOv+eapJD7h1JJrF85V+ZzUqmwgvimg4yEG4ASOM33ad31eHHPH72jaX/MsB0a2h493X3w8rt0nlD7I89CMQPjRvAyei7eZgmIbTyo91bljkXFILBvO31V0i3cIgZ9ye83og26di9hU655W+ZxBBgrZf2i6KLa55SENfv3kzPnEnjqB4oUFZ8=
- TOX_TESTENV_PASSENV="TWINE_USERNAME TWINE_PASSWORD"
script: tox -e release
cache: pip
install:
- pip install tox tox-venv
before_script:
# Disable IPv6. Ref travis-ci/travis-ci#8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
script: tox