forked from python-diamond/Diamond
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 1.03 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
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
language: python
python:
# - "2.5"
- "2.6"
- "2.7"
cache:
directories:
- $HOME/.cache/pip
# command to install dependencies, e.g. pip install -r requirements.txt
install:
- pip install -r .travis.requirements.txt
- pip install pep8==1.5.7
- pip install coveralls
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
# command to run tests, e.g. python setup.py test
script:
- coverage run --source=diamond test.py
- pep8 --config=.pep8 src bin/diamond bin/diamond-setup build_doc.py setup.py test.py
after_success:
coveralls
notifications:
email:
recipients:
on_success: change
on_failure: always
on_start: never
webhooks:
urls:
- https://webhooks.gitter.im/e/89213940e8fa57ad256c
on_success: change
on_failure: always
on_start: never
addons:
apt_packages:
- libsensors4