forked from devsnd/cherrymusic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (63 loc) · 1.65 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
# Continuous Integration config
# travis-ci.org
#
# see http://about.travis-ci.org/docs/user/build-configuration/
#
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
- "pypy3"
env:
- CHERRYPY_VERSION=""
matrix:
include:
- 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'"
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 --use-mirrors; 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:
# - tilman.boerner@gmx.de
# on_success: change # [always|never|change] # default: change
# on_failure: always # [always|never|change] # default: always