.travis.yml 527B

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