From 981b6988dba108e3ac630f9902567e68f67e415b Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 3 Feb 2018 12:31:12 -0800 Subject: [PATCH] Add auto-release for Travis --- .travis.yml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 30cfe42..91d3416 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,20 +3,28 @@ sudo: false language: python python: - - "3.5" - - "3.6" +- '3.5' +- '3.6' env: - - TWISTED="twisted==17.5.0" - - TWISTED="twisted" +- TWISTED="twisted==17.5.0" +- TWISTED="twisted" install: - - pip install $TWISTED isort unify flake8 -e .[tests] - - pip freeze +- pip install $TWISTED isort unify flake8 -e .[tests] +- pip freeze script: - - pytest - - flake8 - - isort --check-only --diff --recursive daphne tests - - unify --check-only --recursive --quote \" daphne tests +- pytest +- flake8 +- isort --check-only --diff --recursive daphne tests +- unify --check-only --recursive --quote \" daphne tests +deploy: + provider: pypi + user: andrewgodwin_bot + on: + tags: true + distributions: sdist bdist_wheel + password: + secure: IA+dvSmMKN+fT47rgRb6zdmrExhK5QCVEDH8kheC6kAacw80ORBZKo6sMX9GQBJ3BlfhTqrzAhItHkDUxonb579rJDvmlJ7FPg7axZpsY9Fmls6q1rJC/La8iGWx20+ctberejKSH3wSwa0LH0imJXGDoKKzf1DLmk5pEEWjG2QqhKdEtyAcnzOPnDWcRCs+DKfQcMzETH7lMFN8oe3aBhHLLtcg4yA78cN5CeyyH92lmbaVp7k/b1FqXXFgf16bi5tlgLrb6DhmcnNjwLMSHRafNoPCXkWQOwh6gEHeHRR3OsHsBueyJHIikuHNrpmgpAqjYlVQ5WqmfgMlhCfRm9xL+G4G+KK9n8AJNGAszUfxVlPvMTw+nkOSd/bmxKrdCqqYnDIvDLucXJ86TstNzklfAwr3FL+wBlucRtOMLhQlHIaPTXYcNpOuh6B4ELjC+WjDGh8EdRKvcsZz7+5AS5ZaDDccuviMzQFsXVcE2d4HiosbARVrkxJ7j3MWp0OGgWVxXgRO2EQIksbgGSIjI8PqFjBqht2WT6MhVZPCc9XHUlP2CiAR5+QY8JgTIztbEDuhpgr0cRAtiHwJEAxDR9tJR/j/v4X/Pau2ZdR0C0yW77lVgD75spLL0khAnU7q+qgiF0hyQ7gRRVy0tElT0HBenVbzjzHowdJX8lSPjRg=