Skip to content

Commit c2d9167

Browse files
committed
cache only for DB 56/57. Separate python version for 56 and 57 as that seems to be the cache key
1 parent 0b22b14 commit c2d9167

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ sudo: false
22
language: python
33
python: "3.4"
44
cache:
5-
directories:
6-
- ${HOME}/mysql
75
pip: true
86

97

@@ -34,7 +32,10 @@ matrix:
3432
apt:
3533
packages:
3634
- libaio-dev
37-
python: 3.4
35+
python: 3.3
36+
cache:
37+
directories:
38+
- ${HOME}/mysql
3839
- env:
3940
- TOX_ENV=py34
4041
- DB=5.7.8-rc
@@ -43,12 +44,15 @@ matrix:
4344
packages:
4445
- libaio-dev
4546
python: 3.4
47+
cache:
48+
directories:
49+
- ${HOME}/mysql
4650

4751
# different py version from 5.6 and 5.7 as cache seems to be based on py version
4852

4953
# http://dev.mysql.com/downloads/mysql/5.7.html has latest development release version
5054

51-
# really only need libaio1 however libaio-dev is whitelisted for container builds and liaio1 isn't
55+
# really only need libaio1 for DB builds however libaio-dev is whitelisted for container builds and liaio1 isn't
5256

5357
install:
5458
- pip install -U tox

0 commit comments

Comments
 (0)