forked from mcmtroffaes/latexcodec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 798 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
language: python
python:
- "3.4"
- "3.3"
- "2.7"
- "2.6"
- "pypy"
branches:
only:
- develop
install:
- "pip install ."
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install coveralls check-manifest flake8 Sphinx; 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=latexcodec `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"