Switch Travis to Docker

As Travis only provides outdated packages (compilers in particular),
this changes the Travis configuration to use Docker images to build and
test the code. This also has the benefit that multiple distributions can
be tested and not just Ubuntu.

For the time being, Arch Linux and Ubuntu 18.04 are added as supported
platforms.
This commit is contained in:
2018-03-23 17:27:20 +01:00
committed by Patrick Lühne
parent 6b1cf6735e
commit c7d1026a31
4 changed files with 31 additions and 40 deletions

7
.ci/ci.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
git submodule update --init --recursive
mkdir -p build/debug
cd build/debug
cmake ../.. -GNinja -DANTHEM_BUILD_TESTS=ON
ninja anthem-app && ninja run-tests