forked from html5lib/html5lib-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (27 loc) · 612 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
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "pypy"
sudo: false
cache:
directories:
- $HOME/.cache/pip
env:
- USE_OPTIONAL=true
- USE_OPTIONAL=false
before_install:
- git submodule update --init --recursive
install:
- bash requirements-install.sh
script:
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then py.test; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run -m pytest; fi
- bash flake8-run.sh
after_script:
- python debug-info.py
after_success:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage combine && codecov; fi