2019-03-20 00:32:55 +00:00
|
|
|
language: minimal
|
2020-05-26 08:21:25 +00:00
|
|
|
sudo: required
|
2019-03-19 23:59:03 +00:00
|
|
|
services:
|
|
|
|
- docker
|
2020-05-26 08:06:18 +00:00
|
|
|
before_install:
|
|
|
|
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
|
|
|
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
2020-05-26 08:21:25 +00:00
|
|
|
- sudo apt-get -q update
|
2020-05-26 08:06:18 +00:00
|
|
|
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
2019-02-10 08:52:13 +00:00
|
|
|
addons:
|
2019-03-19 23:59:03 +00:00
|
|
|
apt:
|
|
|
|
update: true
|
2019-03-29 12:23:17 +00:00
|
|
|
packages:
|
|
|
|
- curl
|
|
|
|
- openssl
|
|
|
|
- ca-certificates
|
|
|
|
- make
|
|
|
|
- qemu-user-static
|
2019-03-19 23:59:03 +00:00
|
|
|
env:
|
|
|
|
global:
|
2020-05-25 23:21:38 +00:00
|
|
|
- PARALLELMFLAGS="-j2"
|
2019-03-19 23:59:03 +00:00
|
|
|
matrix:
|
2020-05-25 22:44:25 +00:00
|
|
|
- DISTRIB_ID=ubuntu VARIANT=debug MARCH=x86_64 CHECK_TARGET=memcheck
|
|
|
|
- DISTRIB_ID=ubuntu VARIANT=coverage MARCH=x86_64 CHECK_TARGET=check
|
|
|
|
- DISTRIB_ID=ubuntu VARIANT=release MARCH=x86_64 CHECK_TARGET=memcheck
|
|
|
|
- DISTRIB_ID=ubuntu VARIANT=debug MARCH=arm32v7 CHECK_TARGET=check
|
|
|
|
- DISTRIB_ID=ubuntu VARIANT=min_size_rel MARCH=arm32v7 CHECK_TARGET=check
|
|
|
|
- DISTRIB_ID=alpine VARIANT=debug MARCH=x86_64 CHECK_TARGET=check
|
2019-03-20 18:57:53 +00:00
|
|
|
before_script:
|
2020-05-25 22:44:25 +00:00
|
|
|
- make $PARALLELMFLAGS VARIANT=$VARIANT MARCH=$MARCH
|
2019-03-20 18:57:53 +00:00
|
|
|
script:
|
2020-05-25 22:44:25 +00:00
|
|
|
- make $PARALLELMFLAGS DISTRIB_ID=$DISTRIB_ID VARIANT=$VARIANT MARCH=$MARCH $CHECK_TARGET
|
2019-04-27 07:49:43 +00:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|