forked from biolab/orange3-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (32 loc) · 861 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
sudo: false # use container-based infrastructure
python:
- "3.4"
- "3.5"
addons:
apt:
packages:
- gfortran
- libblas-dev
- liblapack-dev
- libqt4-dev
cache:
apt: true # does not work for public repos
directories:
- $HOME/.cache/pip
- $HOME/.ccache
- $HOME/nltk_data
before_cache: # prevent logs from caching
- rm -f $HOME/.cache/pip/log/debug.log
before_install:
- pip install -U setuptools pip wheel
- pip install codecov
- pip install newspaper3k
install:
- travis_wait pip install -r requirements.txt
- travis_wait pip install -r requirements-opt.txt
- python setup.py develop # assure version.py is present; required for imports
script:
- coverage run setup.py test
after_success:
- codecov