summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 18 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index a4c3081..6ef3dc6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,26 @@
+before_install:
+ - sudo apt-get update -qq || true
+ - sudo apt-get --reinstall install -qq language-pack-en language-pack-es
language: python
python:
- "2.6"
- "2.7"
- - "3.2"
- "3.3"
install:
- - "pip install -r requirements.txt --use-mirrors"
- - "pip install flake8 --use-mirrors"
+ - "pip install -r requirements-tests.txt --use-mirrors"
- "pip install . --use-mirrors"
-# We run tests and afterwards nikola to see if the command is executable.
+# We run tests, nikola (to see if the command is executable) and flake8.
script:
- - nosetests --with-doctest
- - nikola help
- - "flake8 --exit-zero nikola --ignore=E501"
+ - nosetests --with-coverage --cover-package=nikola --with-doctest --doctest-options=+NORMALIZE_WHITESPACE --logging-filter=-yapsy
+ - nikola help
+ - "flake8 --ignore=E501 ."
+after_success:
+ - coveralls
+notifications:
+ irc:
+ channels:
+ - "chat.freenode.net#nikola"
+ template:
+ - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
+ - "Change view: %{compare_url}"
+ - "Build details: %{build_url}"