This repository has been archived on 2022-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
python-usda/.travis.yml
2018-07-10 08:52:19 +02:00

33 lines
876 B
YAML

env:
global:
- CC_TEST_REPORTER_ID=605b79baf66dfae052f5734a1c043d6a28f429fe0717f751a1f01813d2df5a54
language: python
cache: pip
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
before_install:
- pip install pytest pytest-cov coverage urllib3[secure] httmock coveralls setuptools
install:
- python setup.py install
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- python -m coverage run --source usda -m py.test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT -t coverage.py
after_success:
- coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e15c1b6de9d180d2eafe
on_success: change
on_failure: always
on_start: never