diff options
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index f3b4857..2ad8cce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,10 @@ python: - "2.7" - "3.3" - "3.4" + - "3.5" matrix: include: - - python: "2.7" + - python: "3.5" env: NMODE=flake8 env: NMODE=nikola @@ -22,19 +23,19 @@ install: - "if [[ $NMODE == 'nikola' ]]; then scripts/getwheelhouse.sh $(scripts/getpyver.py short); fi" - "if [[ $NMODE == 'nikola' ]]; then pip install -r requirements-tests.txt; if [[ \"$?\" == '1' ]]; then cat /home/travis/.pip/pip.log; false; fi; fi" - "if [[ $NMODE == 'nikola' ]]; then pip install .; fi" - - "if [[ $NMODE == 'nikola' ]]; then scripts/getbaseline.sh $(scripts/getpyver.py short); fi" - - "if [[ $NMODE == 'flake8' ]]; then pip install flake8 pep257; fi" + - "if [[ $NMODE == 'flake8' ]]; then pip install flake8 pydocstyle; fi" # We run tests and nikola (to see if the command is executable) OR flake8. # We run `nikola` and `nikola help` because things may break due to human # errors in argument parsing (cf. 96e78dd) # WARNING: if you edit this, make sure to replicate your changes in dodo.py and appveyor.yml. script: - "if [[ $NMODE == 'nikola' ]]; then py.test --doctest-modules nikola/; fi" - - "if [[ $NMODE == 'nikola' ]]; then py.test --cov nikola --cov-report term-missing tests/; fi" + - "if [[ $NMODE == 'nikola' ]]; then py.test tests/; fi" - "if [[ $NMODE == 'nikola' ]]; then nikola; fi" - "if [[ $NMODE == 'nikola' ]]; then nikola help; fi" + - "if [[ $NMODE == 'nikola' ]]; then scripts/baseline.sh check; fi" - "if [[ $NMODE == 'flake8' ]]; then flake8 nikola/; fi" - - "if [[ $NMODE == 'flake8' ]]; then pep257 --count --match-dir='(?!^\\\\.)(?!data).*' nikola/; fi" + - "if [[ $NMODE == 'flake8' ]]; then pydocstyle --count --match-dir='(?!^\\\\.)(?!data).*' nikola/; fi" after_success: - "if [[ $NMODE == 'nikola' ]]; then coveralls; fi" notifications: |
