-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
83 lines (64 loc) · 1.77 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
dist: trusty
group: travis_latest
sudo: false
cache:
directories:
- $HOME/.cache/pip
language: python
matrix:
fast_finish: true
include:
#- python: "2.7"
#env: TOXENV=py27-threads
- python: "3.6"
env: TOXENV=py36-threads
dist: xenial
sudo: true
- python: "3.6"
env: TOXENV=py36-greenlets
dist: xenial
sudo: true
- python: "3.7"
env: TOXENV=py37-threads
dist: xenial
sudo: true
- python: "3.7"
env: TOXENV=py37-greenlets
dist: xenial
sudo: true
- python: "3.8"
env: TOXENV=py38-threads
dist: xenial
sudo: true
- python: "3.8"
env: TOXENV=py38-greenlets
dist: xenial
sudo: true
install:
- pip install -U tox
- pip install -e .
script:
- tox
env:
- CODECOV_TOKEN=a40daed1-41a6-4b8b-a0dd-405a3d471ca9
before_install:
- "echo 'starting'"
- "echo $PYTHONPATH"
- pip install codecov
- pip install rx
- pip install gevent
- pip install pytest2md>=190428
#- sudo pip install -U attrs structlog nose appdirs funcsigs colorama
#- sudo python setup.py install
#sudo coverage run --include="app_conf/__init__.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:
- tox -e coverage-report
- codecov
notifications:
email: false