forked from autonomio/autonomio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.1 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
41
42
43
# install system package
dist: trusty
sudo: required
before_install:
- sudo apt-get -q update -y
- sudo apt-get -q install python-tk -y
- sudo apt-get -q install build-essential -y
- sudo apt-get -q install libssl-dev -y
- sudo apt-get -q install libcurl4-gnutls-dev
- sudo apt-get -q install libexpat1-dev
- sudo apt-get -q install gettext
- sudo apt-get -q install unzip -y
- sudo apt-get -q install libc6 -y
- sudo apt-get install python-dev -y
# pick languages
language: python
python:
- "2.7"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "python setup.py install"
- "pip install coveralls"
- "pip install jinja2"
- "./.travis.sh"
- "python -m spacy download en"
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
# command to run tests
script:
# - "python ./test_script.py"
- "coverage run --source=autonomio ./test_script.py"
#- "coverage run -m autonomio.commands.data random_twitter"
after_success:
coveralls