summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2013-11-20 16:58:50 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2013-11-20 16:58:50 -0300
commitca94afc07df55cb7fc6fe3b4f3011877b7881195 (patch)
treed81e1f275aa77545f33740723f307a83dde2e0b4 /.travis.yml
parentf794eee787e9cde54e6b8f53e45d69c9ddc9936a (diff)
Imported Upstream version 6.2.1upstream/6.2.1
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}"