Merge pull request #114 from luzfcb/fix-travis-ci-python3.7_build
[cached-property.git] / .travis.yml
index 55473e207032cdeee82de1518bf497b6bdb3500a..846a502466f6531113e9812c8ca03dfd42437361 100644 (file)
@@ -1,16 +1,22 @@
 # Config file for automatic testing at travis-ci.org
-
+sudo: false
 language: python
 
 python:
+  - "3.6"
+  - "3.5"
   - "3.4"
-  - "3.3"
   - "2.7"
-  - "2.6"
   - "pypy"
 
+matrix:
+  include:
+    - python: 3.7
+      dist: xenial
+      sudo: true
+
 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
-install: pip install -r requirements.txt --use-mirrors
+install: pip install -r requirements.txt
 
 # command to run tests, e.g. python setup.py test
-script: py.test
+script: pytest tests/