Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (53 sloc) 2.029 kB
# Use container-based environment (faster startup, allows caches).
sudo: false
language: python
python:
- "3.4"
env:
- TESTENV=pypy-master-sqlite_file
- TESTENV=pypy3-1.8-sqlite_file
- TESTENV=python2.6-1.6-sqlite_file
- TESTENV=python2.7-1.3-sqlite_file
- TESTENV=python2.7-1.4-sqlite_file
- TESTENV=python2.7-1.5-sqlite_file
- TESTENV=python2.7-1.6-sqlite_file
- TESTENV=python2.7-1.7-sqlite_file
- TESTENV=python2.7-1.8-sqlite_file
- TESTENV=python2.7-master-mysql_innodb
- TESTENV=python2.7-master-mysql_myisam
- TESTENV=python2.7-master-sqlite_file
- TESTENV=python3.2-1.6-sqlite_file
- TESTENV=python3.3-1.6-sqlite_file
- TESTENV=python3.4-1.5-sqlite_file
- TESTENV=python3.4-1.6-sqlite_file
- TESTENV=python3.4-1.7-sqlite_file
- TESTENV=python3.4-1.8-sqlite_file
- TESTENV=python3.4-master-postgres
- TESTENV=python3.4-master-sqlite
- TESTENV=python3.4-master-sqlite_file
- TESTENV=checkqa-python2.7
- TESTENV=checkqa-python3.4
matrix:
allow_failures:
- env: TESTENV=pypy-master-sqlite_file
- env: TESTENV=python2.7-master-mysql_innodb
- env: TESTENV=python2.7-master-mysql_myisam
- env: TESTENV=python2.7-master-sqlite_file
- env: TESTENV=python3.4-master-postgres
- env: TESTENV=python3.4-master-sqlite
- env: TESTENV=python3.4-master-sqlite_file
install:
# Create pip wrapper script, using travis_retry (a function) and
# inject it into tox.ini.
- mkdir -p bin
- PATH=$PWD/bin:$PATH
- printf '#!/bin/sh\n' > bin/travis_retry_pip
- declare -f travis_retry >> bin/travis_retry_pip
- printf '\necho "Using pip-wrapper.." >&2\ntravis_retry pip "$@"' >> bin/travis_retry_pip
- chmod +x bin/travis_retry_pip
- sed -i.bak 's/^\[testenv\]/\0\ninstall_command = travis_retry_pip install {opts} {packages}/' tox.ini
- diff tox.ini tox.ini.bak && return 1 || true
- sed -i.bak 's/whitelist_externals =/\0\n travis_retry_pip/' tox.ini
- diff tox.ini tox.ini.bak && return 1 || true
- pip install tox
script: tox -e $TESTENV
Jump to Line
Something went wrong with that request. Please try again.