Skip to content
Permalink
Browse files

Fix #3070 -- test base requirements

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 3, 2018
1 parent 65a947a commit 3db96ef90486cb2c34af2d60f3fbd2746c089953
Showing with 7 additions and 2 deletions.
  1. +7 −2 .travis.yml
@@ -30,14 +30,17 @@ matrix:
- pip install --upgrade-strategy eager -U pip wheel
- python: '3.6'
env: NMODE=flake8
- python: '3.6'
env: NMODE=base
env:
matrix:
- NMODE=nikola
global:
secure: GqUDW0j4Ay8pS9tS/g5JBYGtgBG0g0oD2g4X9JXgVchiFj3GIRL+dwiXpgx3LELy7nCWF3EzClFxxMdVqqxizQ/I8xqiA0XL/rf5z/y+9d9nmKOxV8SV73n0eCgsHWkbdSLJ6MKs6s0Trlz9jLu/P+Bhfu2ttqkOH8WttfEf3VE=
install:
- if [[ $NMODE == 'nikola' ]]; then pip install --upgrade-strategy eager -Ur 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 pip install --upgrade-strategy eager -Ur requirements-tests.txt; if [[ "$?" != '0' ]]; then cat /home/travis/.pip/pip.log; false; fi; fi
- if [[ $NMODE == 'base' ]]; then pip install --upgrade-strategy eager -Ur requirements.txt; if [[ "$?" != '0' ]]; then cat /home/travis/.pip/pip.log; false; fi; fi
- if [[ $NMODE == 'nikola' || $NMODE == 'base' ]]; then pip install .; fi
- if [[ $NMODE == 'flake8' ]]; then pip install flake8 pydocstyle; fi
script:
- if [[ $NMODE == 'nikola' ]]; then py.test tests/; fi
@@ -47,6 +50,8 @@ script:
- if [[ $NMODE == 'nikola' ]]; then scripts/codacy_coverage.sh; fi
- if [[ $NMODE == 'flake8' ]]; then flake8 nikola/ tests/; fi
- if [[ $NMODE == 'flake8' ]]; then pydocstyle --count --match-dir='(?!^\\.)(?!data).*' nikola/; fi
- if [[ $NMODE == 'base' ]]; then cd /tmp; nikola init -qd nsite; fi
- if [[ $NMODE == 'base' ]]; then cd /tmp/nsite; nikola build; fi
after_success:
notifications:
irc:

0 comments on commit 3db96ef

Please sign in to comment.