Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (40 sloc) 1.572 kB
language: python
python:
- "2.6"
- "2.7"
- "pypy"
- "3.2"
- "3.3"
- "3.4"
env:
- LANG=
- PEP8_VERSION=pypi
- PEP8_VERSION=github
matrix:
allow_failures:
- env: PEP8_VERSION=github
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip install unittest2; fi
- if [ "$PEP8_VERSION" == "github" ]; then pip install git+https://github.com/jcrocholl/pep8; fi
- python setup.py build --build-base=".build-$TRAVIS_PYTHON_VERSION" install
before_script:
# This is needed for Python multiprocessing.
# https://github.com/travis-ci/travis-cookbooks/issues/155
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
script:
- python test/test_autopep8.py
- python test/acid.py -aaa --experimental test/example.py
- python test/acid.py -aaa --experimental test/example_with_reduce.py
- if [ "$TRAVIS_PYTHON_VERSION" == "3.3" ]; then python -m doctest -v README.rst; fi
- if [ "$TRAVIS_PYTHON_VERSION" != "pypy" ]; then pep8 autopep8.py; fi
- if [ "$TRAVIS_PYTHON_VERSION" != "pypy" ]; then pip install pyflakes; pyflakes autopep8.py; fi
- pip install pydiff
- python test/acid.py -aaa --compare-bytecode --experimental test/example.py
# See issue #175.
- python test/acid.py --aggressive --line-range 550 610 test/inspect_example.py
- python test/acid.py --line-range 289 925 test/vectors_example.py
- python test/test_suite.py
after_success:
# pypy is too slow.
- if [ "$TRAVIS_PYTHON_VERSION" != "pypy" ]; then ./coveralls.bash; fi
Jump to Line
Something went wrong with that request. Please try again.