forked from axiros/terminal_markdown_viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (22 loc) · 890 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
dist: trusty
language: python
python:
- 2.7
before_install:
- sudo pip install pygments markdown docopt pyyaml
- sudo python setup.py install
install:
sudo pip install coveralls
before_script:
- "echo 'starting'"
- "echo $PYTHONPATH"
script:
sudo coverage run --include="mdv/markdownviewer.py" setup.py test
# those paths seem to be needed if you run tests directly, otherwise libs
# are not found. strange:
#echo $PYTHONPATH && export PYTHONPATH="`pwd`:$PYTHONPATH:/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages" && python -c "import docopt, markdown, pygments, yaml" && python mdv/tests/test_files.py
#- "ls -la /home/travis/virtualenv/python2.7.12/lib/python2.7/site-packages"
#- "ls -la /usr/lib/python2.7/dist-packages"
#- "ls -la /usr/local/lib/python2.7/dist-packages"
after_success:
coveralls