.travis.yml 747 Bytes
Newer Older
1 2 3 4
sudo: false
cache:
  - pip
  - npm
Thomas Pointhuber's avatar
Thomas Pointhuber committed
5
  - directories:
6
    - $HOME/.cache/pip
7 8
addons:
  firefox: "latest"
Matej Cotman's avatar
Matej Cotman committed
9 10 11
language: python
python:
  - "2.7"
12
  - "3.5"
Adam Tauber's avatar
Adam Tauber committed
13
  - "3.6"
Matej Cotman's avatar
Matej Cotman committed
14 15 16
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
17
install:
18 19 20
  - ./manage.sh install_geckodriver ~/drivers
  - export PATH=~/drivers:$PATH
  - ./manage.sh npm_packages
21
  - ./manage.sh update_dev_packages
Alexandre Flament's avatar
Alexandre Flament committed
22
  - pip install codecov
Matej Cotman's avatar
Matej Cotman committed
23
script:
24
  - ./manage.sh styles
Adam Tauber's avatar
Adam Tauber committed
25
  - ./manage.sh grunt_build
26
  - ./manage.sh tests
Gabor Nagy's avatar
Gabor Nagy committed
27
after_success:
Adam Tauber's avatar
Adam Tauber committed
28
  - ./manage.sh py_test_coverage
Alexandre Flament's avatar
Alexandre Flament committed
29
  - codecov
Matej Cotman's avatar
Matej Cotman committed
30 31 32 33 34 35
notifications:
  irc:
    channels:
      - "irc.freenode.org#searx"
    template:
      - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
36
    on_success: change