.travis.yml (472B)
1 dist: xenial 2 language: python 3 4 python: 5 - 2.7 6 - 3.6 7 - &latest_py3 3.8 8 9 jobs: 10 fast_finish: true 11 include: 12 - stage: deploy 13 if: tag IS present 14 python: *latest_py3 15 before_script: skip 16 script: tox -e release 17 18 cache: pip 19 20 install: 21 - pip install tox tox-venv 22 23 before_script: 24 # Disable IPv6. Ref travis-ci/travis-ci#8361 25 - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then 26 sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'; 27 fi 28 script: tox