forked from devsnd/cherrymusic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
86 lines (77 loc) · 2.07 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Continuous Integration config
# travis-ci.org
#
# see http://about.travis-ci.org/docs/user/build-configuration/
#
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
env:
- CHERRYPY_VERSION=""
matrix:
include:
- python: "2.6"
env: "CHERRYPY_VERSION='>=3.2,<10'"
- python: "2.7"
env: "CHERRYPY_VERSION='>=3.2,<3.3'"
- python: "2.7"
env: "CHERRYPY_VERSION='>=3.3,<3.4'"
- python: "2.7"
env: "CHERRYPY_VERSION='>=3.4,<3.5'"
- python: "2.7"
env: "CHERRYPY_VERSION='>=3.5,<3.6'"
- python: "3.3"
env: "CHERRYPY_VERSION='>=3.2,<3.3'"
- python: "3.3"
env: "CHERRYPY_VERSION='>=3.3,<3.4'"
- python: "3.3"
env: "CHERRYPY_VERSION='>=3.4,<3.5'"
- python: "3.3"
env: "CHERRYPY_VERSION='>=3.5,<3.6'"
- python: "3.4"
env: "CHERRYPY_VERSION='>=4.0,<5.0'"
- python: "3.4"
env: "CHERRYPY_VERSION='>=5.0,<6.0'"
- python: "3.4"
env: "CHERRYPY_VERSION='>=6.0,<7.0'"
- python: "3.4"
env: "CHERRYPY_VERSION='>=7.0,<8.0'"
- python: "3.4"
env: "CHERRYPY_VERSION='>=8.0,<9.0'"
- python: "3.4"
env: "CHERRYPY_VERSION='>=9.0,<10.0'"
allow_failures:
- env: "CHERRYPY_VERSION='>=3.2,<3.3'"
- env: "CHERRYPY_VERSION='>=3.3,<3.4'"
- env: "CHERRYPY_VERSION='>=3.4,<3.5'"
- env: "CHERRYPY_VERSION='>=3.5,<3.6'"
# command to install dependencies
install:
- "pip install cherrypy${CHERRYPY_VERSION} --no-use-wheel"
- "pip install coveralls pyyaml"
- "if [[ $TRAVIS_PYTHON_VERSION = 2.6 ]]; then pip install unittest2; fi"
# prepare test run; test local install
before_script:
- python setup.py -q install
# command to run tests
script:
coverage run --source=cherrymusicserver,cmbootstrap,audiotranscode $(command -v nosetests)
after_success:
coveralls
branches:
# whitelist
only:
- master
- devel
# notifications:
# email:
# recipients:
# on_success: change # [always|never|change] # default: change
# on_failure: always # [always|never|change] # default: always