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.
31 lines
1.1 KiB
31 lines
1.1 KiB
language: c
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
before_install:
|
|
- git clone https://salsa.debian.org/debian/britney2-tests.git britney2-tests
|
|
- git clone https://salsa.debian.org/debian/britney-tests-live-data.git britney2-tests/live-data
|
|
- rm -f .coverage
|
|
|
|
install:
|
|
# Update docker-engine using Ubuntu 'trusty' apt repo
|
|
- sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
|
|
- >
|
|
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" |
|
|
sudo tee -a /etc/apt/sources.list
|
|
- sudo apt-get update
|
|
- >
|
|
sudo apt-get -o Dpkg::Options::="--force-confdef" \
|
|
-o Dpkg::Options::="--force-confold" --assume-yes install docker-engine
|
|
- docker version
|
|
|
|
- docker pull debian:stable
|
|
- docker build --tag=britney .
|
|
|
|
script:
|
|
# https://docs.codecov.io/docs/testing-with-docker
|
|
- ci_env=$(bash <(curl -s https://codecov.io/env)) ; docker run $ci_env britney /bin/sh -c "export CI=true ; ci/run-everything-and-upload-to-codecov.io.sh"
|
|
|
|
#notifications:
|
|
# email: false
|