snappass/.travis.yml
Samuel Dion-Girardeau 00f6964a90 Fix python2.6 support for tests
- "{}".format('foo') does not work on python2.6, as the index needs to be explicitly specified.
- assertIn(x, y) was only introduced in 2.7, reverting to assertTrue(x in y)

Updated test environments definitions and docs accordingly.
2016-08-12 18:47:02 -04:00

14 lines
166 B
YAML

language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
sudo: false
install:
- pip install tox-travis
script:
- tox
services:
- redis-server