Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (26 sloc) 701 Bytes
sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
cache:
directories:
- $HOME/.cache/pip
env:
global:
# Speeds up pip installs and reduces log spam.
- PIP_DISABLE_PIP_VERSION_CHECK=1
install:
# Stick to a known-good version of tox, just in case:
- pip install tox==1.9.2 virtualenv==13.1.2 flake8==2.4.0
before_script:
# Work around Tox's lack of wildcard support. Results in a TOXENV that
# contains only the permutations for the current Python version. eg:
# TOXENV=py27-pip062,py27-pip063,py27-pip070,...
- export TOXENV=`tox --listenvs | grep "py${TRAVIS_PYTHON_VERSION/./}-" | tr '\n' ','`
script:
- flake8 --show-source
- tox