Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (42 sloc) 1.575 kb
# Use container-based environment (faster startup, allows caches).
sudo: false
language: python
python:
- "3.4"
env:
- 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-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-sqlite
- TESTENV=python3.4-master-sqlite_file
- TESTENV=checkqa-python2.7
- TESTENV=checkqa-python3.4
matrix:
allow_failures:
- env: TESTENV=python2.7-master-sqlite_file
- 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.