|
|
@ -2,19 +2,21 @@ language: c
|
|
|
|
sudo: required
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
dist: trusty
|
|
|
|
before_install:
|
|
|
|
before_install:
|
|
|
|
# maybe add php ppa to provide sufficient pkg-php-tools
|
|
|
|
|
|
|
|
# - sudo add-apt-repository -y ppa:ondrej/php5
|
|
|
|
|
|
|
|
# update package list
|
|
|
|
# update package list
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- git clone https://anonscm.debian.org/git/collab-maint/britney2-tests.git britney2-tests
|
|
|
|
- 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
|
|
|
|
- git clone https://anonscm.debian.org/git/collab-maint/britney-tests-live-data.git britney2-tests/live-data
|
|
|
|
|
|
|
|
- rm -f .coverage
|
|
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
install:
|
|
|
|
# install build dependencies
|
|
|
|
# install build dependencies
|
|
|
|
- sudo apt-get install -qq --no-install-recommends python3 python3-apt python3-yaml rsync libclass-accessor-perl
|
|
|
|
- sudo apt-get install -qq --no-install-recommends python3 python3-apt python3-yaml python3-coverage rsync libclass-accessor-perl
|
|
|
|
|
|
|
|
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- britney2-tests/bin/runtests ./britney.py britney2-tests/t test-out
|
|
|
|
- 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
|
|
|
|
- britney2-tests/bin/runtests ./britney.py britney2-tests/live-data test-out-live-data
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
|
|
|
|
- python3-coverage report
|
|
|
|
|
|
|
|
- python3-coverage report -m
|
|
|
|
#notifications:
|
|
|
|
#notifications:
|
|
|
|
# email: false
|
|
|
|
# email: false
|
|
|
|