You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
818 B

  1. env:
  2. global:
  3. - CC_TEST_REPORTER_ID=8582900c285e4da0f253555b1bac1ba501bd6ff07850b0f227166b3cdac59ecc
  4. language: python
  5. git:
  6. depth: 3
  7. notifications:
  8. email: false
  9. python:
  10. - 3.5
  11. - 3.6
  12. - 3.7
  13. - 3.8
  14. install:
  15. - pip install --upgrade pip setuptools wheel
  16. - pip install --only-binary=numpy numpy
  17. - pip install -r requirements.txt
  18. - pip install 'coverage>=4.0,<4.4' --force-reinstall # Upstream bug: https://bitbucket.org/ned/coveragepy/issues/578/incomplete-file-path-in-xml-report
  19. before_script:
  20. - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  21. - chmod +x ./cc-test-reporter
  22. - ./cc-test-reporter before-build
  23. script: python ./test.py
  24. after_script:
  25. - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT