forked from trbs/bucky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 957 Bytes
/
.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
language: python
before_install:
- sudo apt-get update
- sudo apt-get install -y collectd collectd-core
python:
- 2.6
- 2.7
- 3.3
- 3.4
- pypy
- pypy3
install:
# workaround for travis build vm's and multiprocessing
# see https://github.com/travis-ci/travis-core/issues/187
- sudo rm -rf /dev/shm
- sudo ln -Tsf /{run,dev}/shm
# install dependencies
- pip install -r requirements.txt --use-mirrors
- pip install "coverage>=3.6" "nose>=1.3.0" "flake8>=2.1" "coveralls>=0.3" --use-mirrors
# install bucky
- pip install -e . --use-mirrors
script:
- flake8 --show-source --ignore=E501,E731,W391 .
- nosetests -v --with-coverage tests/test_000_bucky.py
- nosetests -v --with-coverage tests/test_001_statsd.py
- nosetests -v --with-coverage tests/test_002_collectd.py
- nosetests -v --with-coverage tests/test_003_processor.py
- nosetests -v --with-coverage tests/test_004_helpers.py
after_success:
- coveralls