forked from mcmtroffaes/sphinxcontrib-bibtex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 913 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
language: python
sudo: false
python:
- "3.6"
- "3.5"
- "3.4"
- "3.3"
- "2.7"
#- "pypy" # travis builder issues?
branches:
only:
- develop
install:
- "pip install sphinx-testing Tinkerer" # required for tests
- "pip install ."
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install coveralls check-manifest flake8; fi"
script:
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then check-manifest; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then flake8; fi"
- "pushd doc"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then make html; fi"
- "popd"
- "pushd test"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coverage run --source=sphinxcontrib.bibtex `type -p nosetests`; fi"
- "if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then nosetests; fi"
- "popd"
after_success:
- "pushd test"
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then coveralls; fi"
- "popd"