.travis.yml 716 B

123456789101112131415161718192021222324252627282930313233
  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 -g 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 pep8_check
  20. - ./manage.sh styles
  21. - ./manage.sh grunt_build
  22. - ./manage.sh py_test_coverage
  23. - ./manage.sh robot_tests
  24. after_success:
  25. coveralls
  26. notifications:
  27. irc:
  28. channels:
  29. - "irc.freenode.org#searx"
  30. template:
  31. - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
  32. on_success: change