]> git.phdru.name Git - sqlconvert.git/blobdiff - .travis.yml
Refactor(process_mysql): Rename quoting_style -> dbname
[sqlconvert.git] / .travis.yml
index d1f382bc9f79f89bef02996ee88f26e0967ba564..550b6d0e397e8515acb768708d3bedcc260993ba 100644 (file)
@@ -12,7 +12,7 @@ sudo: required
 language: python
 
 python:
-  - "3.6"
+  - "2.7"
 
 cache: pip
 
@@ -23,24 +23,42 @@ addons:
       - python3-psycopg2
   postgresql: "9.4"
 
-env:
-  - TOXENV=py27
-  - TOXENV=py34
-  - TOXENV=py35
-  - TOXENV=py36
-  - TOXENV=py27-postgres
-  - TOXENV=py34-postgres
-  - TOXENV=py35-postgres
-  - TOXENV=py36-postgres
-  - TOXENV=py27-sqlite
-  - TOXENV=py34-sqlite
-  - TOXENV=py35-sqlite
-  - TOXENV=py36-sqlite
-  - TOXENV=py27-flake8
-  - TOXENV=py34-flake8
+matrix:
+  include:
+  - python: "2.7"
+    env: TOXENV=py27
+  - python: "3.4"
+    env: TOXENV=py34
+  - python: "3.5"
+    env: TOXENV=py35
+  - python: "3.6"
+    env: TOXENV=py36
+  - python: "2.7"
+    env: TOXENV=py27-postgres
+  - python: "3.4"
+    env: TOXENV=py34-postgres
+  - python: "3.5"
+    env: TOXENV=py35-postgres
+  - python: "3.6"
+    env: TOXENV=py36-postgres
+  - python: "2.7"
+    env: TOXENV=py27-sqlite
+  - python: "3.4"
+    env: TOXENV=py34-sqlite
+  - python: "3.5"
+    env: TOXENV=py35-sqlite
+  - python: "3.6"
+    env: TOXENV=py36-sqlite
+  - python: "2.7"
+    env: TOXENV=py27-flake8
+  - python: "3.4"
+    env: TOXENV=py34-flake8
 
 install:
-  - travis_retry pip install tox
+  - travis_retry pip install tox ppu
 
 script:
   - tox
+
+before_cache:
+  - remove-old-files.py -o 180 ~/.cache/pip