]> git.phdru.name Git - sqlconvert.git/blob - .travis.yml
5a2588301ac687ec6697e8975be36579d808b08b
[sqlconvert.git] / .travis.yml
1 # Config file for automatic testing at travis-ci.org
2
3 # Only test master and pull requests; skip tags.
4 # Other branches can allow themselves.
5 branches:
6   only:
7     - master
8
9 # Prefer docker containers
10 sudo: required
11
12 language: python
13
14 python:
15   - "3.6"
16
17 cache: pip
18
19 addons:
20   apt:
21     packages:
22       - python-psycopg2
23       - python3-psycopg2
24   postgresql: "9.4"
25
26 env:
27   - TOXENV=py27
28   - TOXENV=py34
29   - TOXENV=py35
30   - TOXENV=py36
31   - TOXENV=py27-postgres
32   - TOXENV=py34-postgres
33   - TOXENV=py35-postgres
34   - TOXENV=py36-postgres
35   - TOXENV=py27-sqlite
36   - TOXENV=py34-sqlite
37   - TOXENV=py35-sqlite
38   - TOXENV=py36-sqlite
39   - TOXENV=py27-flake8
40   - TOXENV=py34-flake8
41
42 install:
43   - travis_retry pip install tox ppu
44
45 script:
46   - tox
47
48 before_cache:
49   - remove-old-files.py -o 180 ~/.cache/pip