2015-09-01 10:43:32 -07:00
|
|
|
sudo: false
|
|
|
|
cache:
|
|
|
|
- pip
|
|
|
|
- npm
|
2015-09-01 11:03:32 -07:00
|
|
|
- directories:
|
2015-09-01 11:02:08 -07:00
|
|
|
- $HOME/.cache/pip
|
2014-01-25 09:07:57 -08:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
before_install:
|
|
|
|
- "export DISPLAY=:99.0"
|
|
|
|
- "sh -e /etc/init.d/xvfb start"
|
2014-11-30 04:32:32 -08:00
|
|
|
- npm install -g less grunt-cli
|
2015-01-01 08:54:33 -08:00
|
|
|
- ( cd searx/static/themes/oscar;npm install )
|
2014-01-25 09:07:57 -08:00
|
|
|
install:
|
2014-03-05 07:06:33 -08:00
|
|
|
- "make"
|
2014-07-08 15:06:36 -07:00
|
|
|
- pip install coveralls
|
2014-01-25 09:07:57 -08:00
|
|
|
script:
|
2015-02-03 11:16:24 -08:00
|
|
|
- "make flake8"
|
2014-01-25 09:07:57 -08:00
|
|
|
- "make robot"
|
2014-03-05 06:20:30 -08:00
|
|
|
- "make styles"
|
2014-11-30 04:21:58 -08:00
|
|
|
- "make grunt"
|
2014-07-08 15:06:36 -07:00
|
|
|
- make coverage
|
|
|
|
after_success:
|
|
|
|
coveralls
|
2014-01-25 09:07:57 -08:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#searx"
|
|
|
|
template:
|
|
|
|
- "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
|
2014-01-30 05:46:51 -08:00
|
|
|
on_success: change
|