summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorIWAMOTO Toshihiro <iwamoto@valinux.co.jp>2018-08-01 14:35:19 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-08-01 16:00:11 +0900
commit19662c5688738a3bc9765b1f7f7886a8da1e2981 (patch)
treeb1648aa859396a82ab7a2c97a44c825742e289ec /.travis.yml
parent6e9fbad22e250cb4cb903f5c198c0702cd0f971b (diff)
Test more python versions on travis CI
It seems tests weren't correctly run because of interactions between travis CI env and tox venv. Also, run the scenario test on more recent python3, as python3.4 is going away. The test uses a lot of memory and fails with pypy, so it's disabled for now. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml37
1 files changed, 27 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index c6ef2609..4f67934d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,31 @@
language: python
-python:
- - "3.5" # Python 3.5 still needs to be installed on Travis-CI
-
-env:
- - TOX_ENV=py27
- - TOX_ENV=py34
- - TOX_ENV=py35
- - TOX_ENV=pypy26
- - TOX_ENV=pycodestyle
- - TOX_ENV=autopep8
+
+matrix:
+ include:
+ - python: 3.6
+ env: TOX_ENV=pycodestyle
+ - python: 3.6
+ env: TOX_ENV=py36
+ - python: 3.6
+ env: TOX_ENV=autopep8
+
+ - python: 2.7
+ env: TOX_ENV=pycodestyle
+ - python: 2.7
+ env: TOX_ENV=py27
+
+ - python: 3.4
+ env: TOX_ENV=py34
+
+ - python: 3.5
+ env: TOX_ENV=py35
+
+ - python: 3.7-dev
+ env: TOX_ENV=py37
+
+# This is disabled because of trouble running on travis CI.
+# - python: pypy
+# env: TOX_ENV=pypy
services:
- docker