diff options
| author | 2014-03-09 03:14:40 +0100 | |
|---|---|---|
| committer | 2014-03-09 03:14:40 +0100 | |
| commit | fa50632a9d87c3989566fed3e49c160a132e0d14 (patch) | |
| tree | 81f58cc0dcfbb34710856b59c034bc47c53d91dc /.travis.yml | |
| parent | 2828399ba5cbb14502b023d4de1ba02f13dd5055 (diff) | |
Imported Upstream version 6.4.0upstream/6.4.0
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 680496f..fc27848 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ before_install: - "if [[ $NMODE == 'nikola' ]]; then sudo apt-get update -qq || true; fi" - "if [[ $NMODE == 'nikola' ]]; then sudo apt-get --reinstall install -qq language-pack-en-base language-pack-pl-base; fi" + - "pip install --upgrade pip wheel" language: python cache: apt python: @@ -14,14 +15,17 @@ matrix: env: NMODE=nikola install: - - "if [[ $NMODE == 'nikola' ]]; then pip install -r requirements-tests.txt --use-mirrors; fi" - - "if [[ $NMODE == 'nikola' ]]; then pip install . --use-mirrors; fi" - - "if [[ $NMODE == 'flake8' ]]; then pip install flake8 --use-mirrors; fi" -# We run tests, nikola (to see if the command is executable) and flake8. + - "if [[ $NMODE == 'nikola' ]]; then wget https://github.com/getnikola/wheelhouse/archive/$(scripts/getpyver.py).zip; fi" + - "if [[ $NMODE == 'nikola' ]]; then unzip $(scripts/getpyver.py).zip; fi" + - "if [[ $NMODE == 'nikola' ]]; then pip install --use-wheel --no-index --find-links=wheelhouse-$(scripts/getpyver.py short) lxml Pillow ipython; fi" + - "if [[ $NMODE == 'nikola' ]]; then pip install -r requirements-tests.txt; fi" + - "if [[ $NMODE == 'nikola' ]]; then pip install .; fi" + - "if [[ $NMODE == 'flake8' ]]; then pip install flake8; fi" +# We run tests and nikola (to see if the command is executable) OR flake8. script: - "if [[ $NMODE == 'nikola' ]]; then nosetests --with-coverage --cover-package=nikola --with-doctest --doctest-options=+NORMALIZE_WHITESPACE --logging-filter=-yapsy; fi" - "if [[ $NMODE == 'nikola' ]]; then nikola help; fi" - - "if [[ $NMODE == 'flake8' ]]; then flake8 --ignore=E501 .; fi" + - "if [[ $NMODE == 'flake8' ]]; then flake8 .; fi" after_success: - "if [[ $NMODE == 'nikola' ]]; then coveralls; fi" notifications: |
