.travis.yml 632B

1234567891011121314151617181920212223242526272829303132
  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 )
  15. install:
  16. - "make"
  17. - pip install coveralls
  18. script:
  19. - "make flake8"
  20. - "make robot"
  21. - "make styles"
  22. - "make grunt"
  23. - make coverage
  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