1
Fork 0

minor cleanup

- pip cache auto-config
- generic python 3.6 instead of specific version
- remove the python version requirement from the push since we are only building one version
This commit is contained in:
Nick Travis 2020-01-14 14:58:43 -05:00
parent d20f2ca677
commit 4fea9955a2
No known key found for this signature in database
GPG key ID: D8CA82F0E543F017

View file

@ -1,9 +1,8 @@
language: python language: python
python: python:
- 3.6.6 - 3.6
cache: cache:
directories: pip: true
- "$HOME/.cache/pip"
env: env:
global: global:
- PACKAGE_NAME=wagtail-draftail-snippet - PACKAGE_NAME=wagtail-draftail-snippet
@ -17,11 +16,10 @@ script:
deploy: deploy:
provider: pypi provider: pypi
server: $PYPI_URL server: $PYPI_URL
skip_upload_docs: true upload_docs: false
user: travisci user: travisci
on: on:
tags: true tags: true
python: '3.6.6'
password: password:
secure: $TRAVIS_CI_PASSWORD secure: $TRAVIS_CI_PASSWORD
after_deploy: after_deploy: