-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (32 loc) · 871 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
36
37
language: python
python:
- "3.4"
- "3.5"
- "3.5-dev"
- "nightly"
env:
- GF256_WITHOUT_SPEEDUPS=0
- GF256_WITHOUT_SPEEDUPS=1
- REQUIREMENTS=lowest
- REQUIREMENTS=release
- REQUIREMENTS=dev
install:
- pip install -r dev-requirements.txt
- if [ "$REQUIREMENTS" == "lowest" ]; then
pip install cffi==1.7.0;
elif [ "$REQUIREMENTS" == "release" ]; then
pip install cffi>=1.7.0;
elif [ "$REQUIREMENTS" == "dev" ]; then
pip install -e hg+https://bitbucket.org/cffi/cffi#egg=cffi;
fi
- pip install codecov
script:
- coverage run --module pytest
- python setup.py check --strict --metadata --restructuredtext
- check-manifest
- sphinx-build -W -b html docs docs/_build/html
- sphinx-build -W -b doctest docs docs/_build/doctest
- flake8 .
- isort --check-only --diff --recursive .
after_success:
- codecov