Skip to content

Commit 8f4db79

Browse files
Travis CI: Python cache is pip, not pip3 (#716)
Travis CI: Python cache is pip, not pip3
2 parents f09b1ea + cf3f332 commit 8f4db79

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.travis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
language: python
22

3-
matrix:
4-
include:
5-
- python: 3.5
6-
- python: 3.6
7-
- python: 3.7
8-
- python: 3.8
3+
python:
4+
- 3.5
5+
- 3.6
6+
- 3.7
7+
- 3.8
98

10-
cache: pip3
9+
cache: pip
1110

1211
before_install:
1312
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_cebf25e6c525_key
@@ -27,10 +26,9 @@ script:
2726
- tox
2827

2928
before_deploy:
29+
- pip3 install bumpversion pypandoc
3030
- sudo apt-get update
31-
- pip3 install pypandoc
3231
- sudo apt-get install pandoc
33-
- pip3 install bumpversion
3432
- nvm install 12
3533
- npm install @semantic-release/changelog
3634
- npm install @semantic-release/exec
@@ -42,19 +40,19 @@ deploy:
4240
script: docs/publish.sh
4341
skip_cleanup: true
4442
on:
45-
python: '3.5'
43+
python: 3.8
4644
tags: true
4745
- provider: script
4846
script: npx semantic-release
4947
skip_cleanup: true
5048
on:
51-
python: '3.5'
49+
python: 3.8
5250
branch: master
5351
- provider: pypi
5452
user: watson-devex
5553
password: $PYPI_PASSWORD
5654
repository: https://upload.pypi.org/legacy
5755
skip_cleanup: true
5856
on:
59-
python: '3.5'
57+
python: 3.8
6058
tags: true

0 commit comments

Comments
 (0)