bumblebee-status/.travis.yml
tobi-wan-kenobi 876774ce40 [travis] removing python 3.4 and 3.5
Since 3.4 and 3.5 are both not supported anymore, do not do unit tests
for them.
2021-10-23 13:43:08 +02:00

29 lines
833 B
YAML

os: linux
language: python
env:
global:
- CC_TEST_REPORTER_ID=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
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
addons:
apt:
packages:
libdbus-1-dev
libgit2-dev
libvirt-dev
taskwarrior
install:
- pip install -U coverage pytest pytest-mock freezegun
- pip install 'pygit2<1' 'libvirt-python<6.3' 'feedparser<6' || true
- pip install $(cat requirements/modules/*.txt | cut -d ' ' -f 1 | sort -u)
script:
- coverage run --source=. -m pytest tests -v
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT