forked from cern-mig/python-messaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 897 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
notifications:
email:
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
# command to install dependencies
install:
- pip install --use-mirrors dirq
- pip install --use-mirrors simplejson || echo "ok"
- pip install --use-mirrors stomp.py || echo "ok"
- pip install --use-mirrors lz4 || echo "ok"
- pip install --use-mirrors pep8
- pip install --use-mirrors pylint
- curl -O -R -S -f -s https://raw.github.com/cern-mig/dev-tools/master/python/pylint.sh
- curl -O -R -S -f -s https://raw.github.com/cern-mig/dev-tools/master/python/.pylintrc
# command to run tests
script:
- pep8 messaging test example/*.py
- sh pylint.sh messaging test example/*.py || echo "*ignored*"
- python setup.py test
- python setup.py install
- python example/generator_example.py
- python example/message_example.py
- python example/queue_example.py