forked from pallets/werkzeug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (28 loc) · 823 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: python
python:
- "2.6"
- "2.7"
- "pypy"
- "3.3"
- "3.4"
install:
# Travis uses an outdated PyPy, this installs the most recent one.
- "[[ ${TRAVIS_PYTHON_VERSION} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true"
- "[[ ${TRAVIS_PYTHON_VERSION} == pypy ]] && sudo apt-get -y update && sudo apt-get -y install pypy || true"
- "[[ ${TRAVIS_PYTHON_VERSION} == pypy ]] && sudo rm -rf /usr/local/pypy/bin || true"
- pip install tox>=1.8 flake8
script:
- tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')
- make stylecheck
branches:
except:
- website
notifications:
email: false
irc:
channels:
- "chat.freenode.net#pocoo"
on_success: change
on_failure: always
use_notice: true
skip_join: true