-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
40 lines (32 loc) · 1.09 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
language: python
python:
- 3.4
- 3.5
- pypy3
- nightly
before_install:
- "sudo apt-get update && sudo apt-get install inkscape texlive-full texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-lang-czechslovak latex-xcolor"
install:
- "pip install --upgrade requests[security]"
- pip install -r requirements.txt
- pip install coveralls
- pip install pep8
- pip install --upgrade pip
- if [[ $TRAVIS_PYTHON_VERSION == 3.4 || $TRAVIS_PYTHON_VERSION == pypy3 ]]; then pip install enum34; fi
before_script:
- "pep8 --ignore=E501,E731 pybots" # ignore too long lines, lambda assigning
script:
- coverage run --source=pybots test.py
after_success:
- coveralls
- cd docs
- pdflatex -interaction=nonstopmode -shell-escape docs.tex
- pdflatex -interaction=nonstopmode -shell-escape docs.tex
- pdflatex -interaction=nonstopmode -shell-escape docs.tex
- cd ..
- curl -X POST -F file=@docs/docs.pdf http://josefkolar.cz/receiver/receiver.php
matrix:
allow_failures:
- python: pypy3
- python: nightly
skip_cleanup: true