This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching Travis and AppVeyor to multiple jobs per commit. Faster parallelism on both (all at once in Travis, two at once in AppVeyor). Switching from Coveralls to Codecov to cease appveyor-artifacts crazyness with the Travis job waiting for the AppVeyor job. Bumping lint/test dependency versions. Fixing git clone command in documentation. Using HTTPS instead of SSH to avoid auth issues.
- Loading branch information
Showing
5 changed files
with
65 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
# Configure. | ||
env: TOX_ENV=py | ||
language: python | ||
python: 3.5 | ||
matrix: | ||
include: | ||
- python: 3.5 | ||
env: TOX_ENV=lint | ||
after_success: | ||
- echo | ||
- python: 3.5 | ||
env: TOX_ENV=docs | ||
after_success: | ||
- eval "$(ssh-agent -s)"; touch docs/key; chmod 0600 docs/key | ||
- openssl aes-256-cbc -d -K "$encrypted_c89fed6a587d_key" -iv "$encrypted_c89fed6a587d_iv" | ||
< docs/key.enc > docs/key && ssh-add docs/key | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis CI" | ||
- git remote set-url --push origin "[email protected]:$TRAVIS_REPO_SLUG" | ||
- export ${!TRAVIS*} | ||
- tox -e docsV | ||
python: | ||
- 3.5 | ||
- 3.4 | ||
- 3.3 | ||
- pypy3 | ||
- pypy | ||
- 2.7 | ||
- 2.6 | ||
sudo: false | ||
|
||
# Run. | ||
install: pip install appveyor-artifacts coveralls tox | ||
script: tox -e lint,py35,py34,py33,pypy3,pypy,py27,py26,docs | ||
install: pip install tox | ||
script: tox -e $TOX_ENV | ||
after_success: | ||
- mv .coverage .coverage.travis | ||
- appveyor-artifacts -mi download | ||
- coverage combine | ||
- coveralls | ||
- eval "$(ssh-agent -s)"; touch docs/key; chmod 0600 docs/key | ||
- openssl aes-256-cbc -d -K "$encrypted_c89fed6a587d_key" -iv "$encrypted_c89fed6a587d_iv" < docs/key.enc > docs/key | ||
&& ssh-add docs/key | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis CI" | ||
- git remote set-url origin "[email protected]:$TRAVIS_REPO_SLUG" | ||
- export ${!TRAVIS*} | ||
- tox -e docsV | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
# Deploy. | ||
deploy: | ||
|
@@ -30,4 +44,5 @@ deploy: | |
7ua6nNpYPhjRv7j5YM4uLlK+4Fv/iU+iQcVfy89BS4vlXzUoje6nLIhogsxytb+FjdGZ0PK\ | ||
JzzxfYr0relUjui/gPYmTQoZ1IiT8A=" | ||
on: | ||
condition: $TRAVIS_PYTHON_VERSION = 3.4 | ||
tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters