.travis.yml 743B

123456789101112131415161718192021222324252627282930313233343536
  1. matrix:
  2. include:
  3. - sudo: false
  4. language: python
  5. python:
  6. - "3.4"
  7. - "3.5"
  8. - "3.6"
  9. addons:
  10. apt:
  11. packages:
  12. - libreoffice
  13. - imagemagick
  14. - libmagickwand-dev
  15. - ghostscript
  16. services:
  17. - docker
  18. - redis-server
  19. before_install:
  20. - docker pull mailhog/mailhog
  21. - docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
  22. - cd backend
  23. install:
  24. - pip install --upgrade pip setuptools
  25. - pip install -e ".[testing]"
  26. - pip install pytest-cov
  27. - pip install python-coveralls
  28. script:
  29. - py.test --cov tracim_backend
  30. after_success:
  31. - coveralls