summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 57d62306018c0ba8edf9a050b010187e8a108a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo: false
cache:
  - pip
  - npm
  - directories:
    - $HOME/.cache/pip
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; cd - )
install:
  - ./manage.sh update_packages
  - ./manage.sh update_dev_packages
  - pip install coveralls
script:
  - ./manage.sh pep8_check
  - ./manage.sh styles
  - ./manage.sh grunt
  - ./manage.sh coverage
  - ./manage.sh robot
after_success:
  coveralls
notifications:
  irc:
    channels:
      - "irc.freenode.org#searx"
    template:
      - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
    on_success: change