2018-03-23 17:27:20 +01:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2016-11-21 17:51:14 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-03-23 17:27:20 +01:00
|
|
|
- env: distribution=arch-latest
|
2017-03-23 01:06:44 +01:00
|
|
|
os: linux
|
|
|
|
language: cpp
|
2018-03-23 17:27:20 +01:00
|
|
|
- env: distribution=ubuntu-18.04
|
2016-11-21 17:51:14 +01:00
|
|
|
os: linux
|
|
|
|
language: cpp
|
2018-03-23 17:27:20 +01:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- docker build -t ${distribution} - < .ci/Dockerfile-${distribution}
|
|
|
|
|
2016-11-21 17:51:14 +01:00
|
|
|
script:
|
2018-03-23 17:27:20 +01:00
|
|
|
- docker run --mount source=$(pwd),target=/app,type=bind -w /app ${distribution} /bin/bash -c ".ci/ci.sh"
|