-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
.travis.yml
40 lines (34 loc) · 1.02 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
language: python
before_install:
- sudo apt-get update
- sudo apt-get install -y collectd collectd-core
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3.3-5.5-alpha
matrix:
allow_failures:
- python: pypy3.3-5.5-alpha
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
- pip install "coverage>=3.6" "nose>=1.3.0" "flake8>=2.1" "coveralls>=0.3"
# install bucky
- pip install -e .
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
- PYTHONPATH="." python contrib/statsd_perfomance_test.py
after_success:
- coveralls