]> git.phdru.name Git - sqlconvert.git/blob - .travis.yml
Docs: Remove -O2 from installation instructions
[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   - "2.7"
16
17 cache: pip
18
19 addons:
20   apt:
21     packages:
22       - python-psycopg2
23       - python3-psycopg2
24   postgresql: "9.4"
25
26 matrix:
27   include:
28   - python: "2.7"
29     env: TOXENV=py27
30   - python: "3.4"
31     env: TOXENV=py34
32   - python: "3.5"
33     env: TOXENV=py35
34   - python: "3.6"
35     env: TOXENV=py36
36   - python: "2.7"
37     env: TOXENV=py27-postgres
38   - python: "3.4"
39     env: TOXENV=py34-postgres
40   - python: "3.5"
41     env: TOXENV=py35-postgres
42   - python: "3.6"
43     env: TOXENV=py36-postgres
44   - python: "2.7"
45     env: TOXENV=py27-sqlite
46   - python: "3.4"
47     env: TOXENV=py34-sqlite
48   - python: "3.5"
49     env: TOXENV=py35-sqlite
50   - python: "3.6"
51     env: TOXENV=py36-sqlite
52   - python: "2.7"
53     env: TOXENV=py27-flake8
54   - python: "3.4"
55     env: TOXENV=py34-flake8
56
57 install:
58   - travis_retry pip install --upgrade pip setuptools tox ppu
59
60 script:
61   - tox
62
63 before_cache:
64   - remove-old-files.py -o 180 ~/.cache/pip