Skip to content

Commit 579ddfc

Browse files
committed
Running docsV only in TOX_ENV=docs matrix entry.
Only running SCVersioning once, instead of in every Travis job. Also not running coveralls during lint Travis job.
1 parent efee288 commit 579ddfc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.travis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@ matrix:
44
include:
55
- python: 3.5
66
env: TOX_ENV=lint
7+
after_success:
8+
- echo
79
- python: 3.5
810
env: TOX_ENV=docs
11+
after_success:
12+
- eval "$(ssh-agent -s)"; touch docs/key; chmod 0600 docs/key
13+
- openssl aes-256-cbc -d -K "$encrypted_9c2bf3fbb9ea_key" -iv "$encrypted_9c2bf3fbb9ea_iv"
14+
< docs/key.enc > docs/key && ssh-add docs/key
15+
- git remote set-url --push origin "[email protected]:$TRAVIS_REPO_SLUG"
16+
- export ${!TRAVIS*}
17+
- tox -e docsV
918
python:
1019
- 3.5
1120
- 3.4
@@ -21,12 +30,6 @@ before_script:
2130
script: tox -e ${TOX_ENV:-py${TRAVIS_PYTHON_VERSION//.}}
2231
after_success:
2332
- coveralls
24-
- eval "$(ssh-agent -s)"; touch docs/key; chmod 0600 docs/key
25-
- openssl aes-256-cbc -d -K "$encrypted_9c2bf3fbb9ea_key" -iv "$encrypted_9c2bf3fbb9ea_iv" < docs/key.enc > docs/key
26-
&& ssh-add docs/key
27-
- git remote set-url --push origin "[email protected]:$TRAVIS_REPO_SLUG"
28-
- export ${!TRAVIS*}
29-
- tox -e docsV
3033

3134
# Deploy.
3235
deploy:

0 commit comments

Comments
 (0)