Permalink
Browse files

fix travis (#908)

* fix travis

* quick finish

* strip down

* cleanup
  • Loading branch information...
oberstet committed Sep 23, 2017
1 parent f029ff5 commit ca0df71681b1e32f7878af14cb8cb7053ac0b82f
Showing with 56 additions and 46 deletions.
  1. +48 −41 .travis.yml
  2. +8 −5 tox.ini
View
@@ -1,41 +1,11 @@
# https://docs.travis-ci.com/user/languages/python/
language: python
sudo: false
install:
- pip install tox codecov
env:
- TOX_ENV=flake8
- TOX_ENV=py27-tw121
- TOX_ENV=py27-tw132
- TOX_ENV=py27-tw154
- TOX_ENV=py27-tw165
- TOX_ENV=py27-twtrunk
- TOX_ENV=py27-asyncio
- TOX_ENV=pypy-tw121
- TOX_ENV=pypy-tw132
- TOX_ENV=pypy-tw154
- TOX_ENV=pypy-tw165
- TOX_ENV=pypy-twtrunk
- TOX_ENV=pypy-asyncio
- TOX_ENV=py33-tw154
- TOX_ENV=py33-tw165
- TOX_ENV=py33-twtrunk
- TOX_ENV=py33-asyncio
- TOX_ENV=py34-tw154
- TOX_ENV=py34-tw165
- TOX_ENV=py34-twtrunk
- TOX_ENV=py34-asyncio
#- TOX_ENV=py35-tw154
#- TOX_ENV=py35-tw165
#- TOX_ENV=py35-twtrunk
#- TOX_ENV=py35-asyncio
script:
- tox -c tox.ini -e $TOX_ENV
@@ -45,23 +15,60 @@ after_script:
matrix:
fast_finish: true
# https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-143758799
include:
- python: 3.5
- env: TOX_ENV=flake8
- python: 2.7
env:
- TOX_ENV=py27-tw121
- python: 2.7
env:
- TOX_ENV=py27-twtrunk
- python: 2.7
env:
- TOX_ENV=py27-asyncio
- python: 3.3
env:
- TOX_ENV=py33-tw154
- python: 3.3
env:
- TOX_ENV=py33-twtrunk
- python: 3.3
env:
- TOX_ENV=py33-asyncio
- python: 3.6
env:
- TOX_ENV=py36-tw154
- python: 3.6
env:
- TOX_ENV=py36-twtrunk
- python: 3.6
env:
- TOX_ENV=py36-asyncio
- python: pypy
env:
- TOX_ENV=py35-tw154
- TOX_ENV=pypy-twtrunk
- python: 3.5
- python: pypy
env:
- TOX_ENV=py35-tw165
- TOX_ENV=pypy-asyncio
- python: 3.5
- python: pypy3
env:
- TOX_ENV=py35-twtrunk
- TOX_ENV=pypy3-twtrunk
- python: 3.5
- python: pypy3
env:
- TOX_ENV=py35-asyncio
- TOX_ENV=pypy3-asyncio
notifications:
irc:
View
13 tox.ini
@@ -1,11 +1,13 @@
[tox]
envlist =
flake8
py27-{tw121,tw132,tw154,tw165,tw171,twtrunk,asyncio}
pypy-{tw121,tw132,tw154,tw165,tw171,twtrunk,asyncio}
py33-{tw154,tw165,tw171,twtrunk,asyncio}
py34-{tw154,tw165,tw171,twtrunk,asyncio}
py35-{tw154,tw165,tw171,twtrunk,asyncio}
py27-{tw121,tw132,tw154,tw165,twtrunk,asyncio}
pypy-{tw121,tw132,tw154,tw165,twtrunk,asyncio}
pypy3-{tw154,tw165,twtrunk,asyncio}
py33-{tw154,tw165,twtrunk,asyncio}
py34-{tw154,tw165,twtrunk,asyncio}
py35-{tw154,tw165,twtrunk,asyncio}
py36-{tw154,tw165,twtrunk,asyncio}
[flake8]
@@ -45,6 +47,7 @@ deps =
py33-asyncio: pytest_asyncio<0.6
py34-asyncio: pytest_asyncio<0.6
py35-asyncio: pytest_asyncio<0.6
py36-asyncio: pytest_asyncio<0.6
; aiohttp requires Python 3.4.2+
; py34-asyncio: pytest-aiohttp

0 comments on commit ca0df71

Please sign in to comment.