.travis.yml 680B

12345678910111213141516171819202122232425262728293031
  1. sudo: false
  2. cache:
  3. - pip
  4. - npm
  5. - directories:
  6. - $HOME/.cache/pip
  7. language: python
  8. python:
  9. - "2.7"
  10. before_install:
  11. - "export DISPLAY=:99.0"
  12. - "sh -e /etc/init.d/xvfb start"
  13. - npm install less grunt-cli
  14. - ( cd searx/static/themes/oscar;npm install; cd - )
  15. install:
  16. - ./manage.sh update_dev_packages
  17. - pip install coveralls
  18. script:
  19. - ./manage.sh styles
  20. - ./manage.sh grunt_build
  21. - ./manage.sh tests
  22. - ./manage.sh py_test_coverage
  23. after_success:
  24. coveralls
  25. notifications:
  26. irc:
  27. channels:
  28. - "irc.freenode.org#searx"
  29. template:
  30. - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
  31. on_success: change