]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/.travis.yml
CI: Remove branch limitations
[cookiecutter.git] / project_template / .travis.yml
index 1ac2757f49de5db57ef0a68596a5f889fb3da608..c3d76aa89bc4b7288095e3f2377b8d4b228ba231 100644 (file)
@@ -1,14 +1,3 @@
-# Config file for automatic testing at travis-ci.org
-
-# Only test master and pull requests; skip tags.
-# Other branches can allow themselves.
-branches:
-  only:
-    - master
-
-# Prefer docker containers
-sudo: required
-
 language: python
 
 python:
@@ -26,10 +15,14 @@ matrix:
     env: TOXENV=py35
   - python: "3.6"
     env: TOXENV=py36
+  - python: "3.7"
+    dist: xenial
+    env: TOXENV=py37
   - python: "2.7"
     env: TOXENV=py27-flake8
-  - python: "3.4"
-    env: TOXENV=py34-flake8
+  - python: "3.7"
+    dist: xenial
+    env: TOXENV=py37-flake8
   - python: "pypy"
     env: TOXENV=pypy
 
@@ -37,7 +30,7 @@ matrix:
     - env: TOXENV=pypy
 
 install:
-  - travis_retry pip install --upgrade pip setuptools tox ppu
+  - travis_retry pip install --upgrade "pip < 19.1" setuptools tox ppu
 
 script:
   - tox