Skip to content

Commit

Permalink
Update Travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy HUBSCHER committed May 11, 2017
1 parent 66e52b4 commit 0c29b6c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
language: python
python: 2.7
addons:
apt:
sources:
- deadsnakes # source required so it finds the package definition below
packages:
- python3.5
- python3.5-dev
python: 3.5
env:
- TOX_ENV=py27
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=py35 SERVER=development
- TOX_ENV=flake8
before_install:
- VIRTUAL_ENV=.venv make VIRTUALENV="virtualenv --python python3.5" install-dev
- VIRTUAL_ENV=.venv make VIRTUALENV="virtualenv --python python3.5" runkinto &
- if [[ $SERVER == development ]]; then .venv/bin/pip install https://github.com/Kinto/kinto/tarball/master; fi
- make install-dev
- make runkinto &
- if [[ $SERVER == development ]]; then pip install https://github.com/Kinto/kinto/tarball/master; fi
install:
- pip install tox
script:
Expand All @@ -25,3 +15,13 @@ after_success:
# Report coverage results to coveralls.io
- pip install coveralls
- coveralls
matrix:
include:
- python: 3.6
env: TOX_ENV=py36
- python: 3.6
env: TOX_ENV=py36 SERVER=development
- env:
- TOX_ENV=flake8
before_install:
- python --version

0 comments on commit 0c29b6c

Please sign in to comment.