.travis.yml 640 B

12345678910111213141516171819202122232425
  1. language: python
  2. python:
  3. - 2.7
  4. services:
  5. - docker
  6. install:
  7. - pip install -U pip wheel
  8. - pip install -r requirements.txt
  9. before_script:
  10. - openssl version -a
  11. script:
  12. - python -m pytest plugins/CryptMessage/Test
  13. - python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
  14. before_install:
  15. - pip install -U pytest mock pytest-cov selenium
  16. - pip install codecov
  17. - pip install coveralls
  18. - docker build -t zeronet .
  19. - docker run -d -v $PWD:/root/data -p 15441:15441 -p 127.0.0.1:43110:43110 zeronet
  20. after_success:
  21. - codecov
  22. - coveralls --rcfile=src/Test/coverage.ini
  23. cache:
  24. directories:
  25. - $HOME/.cache/pip