forked from houtianze/bypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 771 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
language: python
#sudo: false
sudo: required
python:
- "2.7"
- "3.3"
# - "3.5"
# command to install dependencies,
# e.g. pip install -r requirements.txt --use-mirrors
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y pandoc
- sudo apt-get install -y aria2
install:
- pip install -r requirements.txt
- pip install pypandoc
- pip install pyflakes
- pip install coverage
- pip install coveralls
# command to run tests, e.g. python setup.py test
script:
- pyflakes bypy.py
- pyflakes setup.py
- pyflakes bypygui.pyw
- python setup.py test
- python -m doctest -v bypy.py
- cd test && coverage run test.py
notifications:
email:
on_success: change # default: change
on_failure: always # default: always
after_success:
- coveralls