Skip to content

Commit 54cda0e

Browse files
committed
ignore gh-pages branch.
added directory caching. added test matrix use tox to test in travis-ci.
1 parent f8c8768 commit 54cda0e

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.travis.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
language: python
22

3+
branches:
4+
except:
5+
- gh-pages
6+
7+
cache:
8+
directories:
9+
- "${HOME}/virtualenv"
10+
- "${TRAVIS_BUILD_DIR}/.tox"
11+
312
python:
413
- 2.6
514
- 2.7
615
- 3.3
716
- 3.4
17+
- 3.5
18+
- 3.6
819
- pypy
920

10-
env:
11-
- PYTEST=2.3.5
12-
- PYTEST=2.4.2
13-
- PYTEST=2.5.2
14-
- PYTEST=2.6.4
15-
- PYTEST=2.7.0
16-
- PYTEST=2.7.1
17-
- PYTEST=2.7.2
18-
- PYTEST=2.7.3
19-
- PYTEST=2.8.0
21+
matrix:
22+
fast_finish: true
23+
allow_failures:
24+
- python: 3.6
2025

2126
install:
22-
- pip install -q pytest==$PYTEST
23-
- pip install -q -r requirements/main.txt
24-
- pip install -q -e .
27+
- pip install tox
28+
- pip install tox-travis
2529

2630
script:
27-
- py.test
31+
- tox

0 commit comments

Comments
 (0)