.travis.yml 747B

123456789101112131415161718192021222324252627282930313233343536
  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.5"
  13. - "3.6"
  14. before_install:
  15. - "export DISPLAY=:99.0"
  16. - "sh -e /etc/init.d/xvfb start"
  17. install:
  18. - ./manage.sh install_geckodriver ~/drivers
  19. - export PATH=~/drivers:$PATH
  20. - ./manage.sh npm_packages
  21. - ./manage.sh update_dev_packages
  22. - pip install codecov
  23. script:
  24. - ./manage.sh styles
  25. - ./manage.sh grunt_build
  26. - ./manage.sh tests
  27. after_success:
  28. - ./manage.sh py_test_coverage
  29. - codecov
  30. notifications:
  31. irc:
  32. channels:
  33. - "irc.freenode.org#searx"
  34. template:
  35. - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
  36. on_success: change