yaml shell script templating is the new black
language: c
sudo: required
-matrix:
- include:
- - os: linux
- compiler: gcc
- dist: disco
addons:
apt:
- sources:
+ config:
+ retries: true
+ sources: &common_sources
- ubuntu-toolchain-r-test
- packages:
+ packages: &common_packages
- gcc-8
- apache2
- apache2-dev
@@ -24,15 +21,29 @@ matrix:
- libjansson4
- libjansson-dev
- python3
+
+matrix:
+ include:
+ - os: linux
+ compiler: gcc
+ dist: disco
env:
- MATRIX_EVAL="BASE_OS=ubuntu-disco-gcc-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
before_install:
- eval "${MATRIX_EVAL}"
-before_script: ./buildconf
+before_script:
+ - ./buildconf
-script: |
+script:
+ - |
dpkg --listfiles apache2 && apxs &&
./configure && make clean && make && make install
