-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (67 loc) · 1.85 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:
include:
- os: linux
python: "2.7"
env: TORNADO_VERSION=HH ; WITH_RAVEN=1
- os: linux
python: "2.7"
env: TORNADO_VERSION=HH ; WITH_RAVEN=0
- os: linux
python: "2.7"
env: TORNADO_VERSION=3.2.2 ; WITH_RAVEN=1
- os: linux
python: "3.3"
env: TORNADO_VERSION=HH ; WITH_RAVEN=1
- os: linux
python: "3.3"
env: TORNADO_VERSION=HH ; WITH_RAVEN=0
- os: linux
python: "3.3"
env: TORNADO_VERSION=3.2.2 ; WITH_RAVEN=1
- os: linux
python: "3.4"
env: TORNADO_VERSION=HH ; WITH_RAVEN=1
- os: linux
python: "3.4"
env: TORNADO_VERSION=HH ; WITH_RAVEN=0
- os: linux
python: "3.4"
env: TORNADO_VERSION=3.2.2 ; WITH_RAVEN=1
- os: linux
python: "3.5"
env: TORNADO_VERSION=HH ; WITH_RAVEN=1
- os: linux
python: "3.5"
env: TORNADO_VERSION=HH ; WITH_RAVEN=0
- os: linux
python: "3.5"
env: TORNADO_VERSION=3.2.2 ; WITH_RAVEN=1
- os: linux
sudo: required
dist: trusty
python: "2.7"
env: TORNADO_VERSION=HH ; WITH_RAVEN=1
- os: osx
osx_image: xcode7.3
language: generic
env: TORNADO_VERSION=HH ; WITH_RAVEN=1
before_install:
- easy_install pip
- pip install virtualenv
- virtualenv venv -p python2
- source venv/bin/activate
install:
- if [[ $TORNADO_VERSION == 'HH' ]]; then pip install https://github.com/hhru/tornado/archive/master.zip; else pip install tornado==$TORNADO_VERSION; fi
- if [[ $WITH_RAVEN == 1 ]]; then pip install "raven < 5.2"; fi
- pip install codecov
- pip install python-daemon
- python setup.py install
- mkdir ~/.python-eggs
- chmod og-wx ~/.python-eggs
script:
- python setup.py test
sudo: false
after_success:
- ./coverage-run.sh
- bash <(curl -s https://codecov.io/bash)