forked from aiiie/cram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (64 loc) · 1.45 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
language: python
matrix:
allow_failures:
- python: nightly
env: TESTOPTS=--shell=dash
- python: pypy
env: TESTOPTS=--shell=dash
- python: pypy3
env: TESTOPTS=--shell=dash
include:
- python: "3.5"
env: TESTOPTS=--shell=dash
- python: "3.5"
env: TESTOPTS=--shell=bash
- python: "3.5"
env: TESTOPTS=--shell=zsh
addons:
apt:
packages:
- zsh
- python: "3.4"
env: TESTOPTS=--shell=dash
- python: "3.3"
env: TESTOPTS=--shell=dash
- python: "3.2"
env: TESTOPTS=--shell=dash
- python: "2.7"
env: TESTOPTS=--shell=dash
- python: "2.6"
env: TESTOPTS=--shell=dash
- env: PYTHON=2.5 TESTOPTS=--shell=dash
addons:
apt:
sources:
- deadsnakes
packages:
- python2.5
- env: PYTHON=2.4 TESTOPTS=--shell=dash
addons:
apt:
sources:
- deadsnakes
packages:
- python2.4
- python: nightly
env: TESTOPTS=--shell=dash
- python: pypy
env: TESTOPTS=--shell=dash
- python: pypy3
env: TESTOPTS=--shell=dash
fast_finish: true
install: |
if [ -z "$PYTHON" ]
then
[ "$TRAVIS_PYTHON_VERSION" = "3.2" ] && pip install coverage==3.7.1
pip install -r requirements.txt
fi
script: |
if [ -z "$PYTHON" ]
then
make test TESTOPTS="$TESTOPTS"
else
make quicktest PYTHON="python$PYTHON"
fi