.travis.yml 737B

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