2
0

.travis.yml 456 B

12345678910111213141516171819
  1. language: python
  2. python:
  3. - "2.6"
  4. - "2.7"
  5. - "3.3"
  6. - "3.4"
  7. - "3.5"
  8. sudo: false
  9. before_install:
  10. - if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
  11. echo "No pull requests can be sent to the master branch" 1>&2;
  12. exit 1;
  13. fi
  14. - pip install codecov
  15. install:
  16. - python scripts/ci/install
  17. script: python scripts/ci/run-tests
  18. after_success:
  19. - rm tests/coverage.xml && mv tests/.coverage ./ && codecov