-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
41 lines (34 loc) · 918 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
36
37
38
39
40
41
language: python
dist: trusty
group: stable
os: linux
python:
- "3.5"
- "3.6"
addons:
apt:
sources:
- deadsnakes
packages:
- python3.5
- python3.6
before_install:
- sudo apt-get install -qq python-numpy python-scipy python-glpk libglpk-dev glpk-utils
- sudo rm -f /etc/boto.cfg
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install --upgrade pip
- pip install -r requirements.txt
- pip install pep8
- pip list
- python -c "import nltk; nltk.download('stopwords'); nltk.download('punkt')"
# test for pep8
before_script:
- "pep8 potara/summarizer.py potara/document.py potara/similaritymeasures.py"
# command to run tests, e.g. python setup.py test
script:
- "python tests/test_all.py"
- "python setup.py test"
- "coverage run --omit=potara/takahe.py --source=potara setup.py test"
after_success:
coveralls