2016-09-22 19:19:30 +00:00
|
|
|
language: c
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
before_install:
|
|
|
|
# update package list
|
|
|
|
- sudo apt-get update -qq
|
2016-09-22 19:37:24 +00:00
|
|
|
- git clone https://anonscm.debian.org/git/collab-maint/britney2-tests.git britney2-tests
|
|
|
|
- git clone https://anonscm.debian.org/git/collab-maint/britney-tests-live-data.git britney2-tests/live-data
|
2016-11-13 09:20:41 +00:00
|
|
|
- rm -f .coverage
|
2016-09-22 19:19:30 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
# install build dependencies
|
2017-09-15 15:57:15 +02:00
|
|
|
- sudo apt-get install -qq --no-install-recommends python3 python3-apt python3-yaml python3-coverage python3-nose rsync libclass-accessor-perl python3-amqplib
|
2016-09-22 19:19:30 +00:00
|
|
|
|
|
|
|
script:
|
2016-11-13 16:49:56 +00:00
|
|
|
- nosetests3 -v --with-coverage
|
2016-11-13 09:20:41 +00:00
|
|
|
- britney2-tests/bin/runtests ./ci/britney-coverage.sh britney2-tests/t test-out
|
|
|
|
- britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data
|
2017-09-26 19:44:33 +02:00
|
|
|
- tests/test_autopkgtest.py
|
2016-11-13 09:20:41 +00:00
|
|
|
after_success:
|
|
|
|
- python3-coverage report
|
|
|
|
- python3-coverage report -m
|
2017-01-29 10:41:29 +00:00
|
|
|
- python3-coverage xml -i
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2016-09-22 19:19:30 +00:00
|
|
|
#notifications:
|
|
|
|
# email: false
|