searxng/.travis.yml
Thomas Pointhuber ae5bf6e49f [enh] Migrating Travis CI from legacy to container-based infrastructure
This patch should speedup testing with Travis CI using caching and
container-based infrastructure.

source:
- http://docs.travis-ci.com/user/migrating-from-legacy/
- http://docs.travis-ci.com/user/caching/
2015-09-01 19:43:32 +02:00

31 lines
594 B
YAML

sudo: false
cache:
- pip
- npm
language: python
python:
- "2.7"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- npm install -g less grunt-cli
- ( cd searx/static/themes/oscar;npm install )
install:
- "make"
- pip install coveralls
script:
- "make flake8"
- "make robot"
- "make styles"
- "make grunt"
- make coverage
after_success:
coveralls
notifications:
irc:
channels:
- "irc.freenode.org#searx"
template:
- "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
on_success: change