Patrick Lühne
c7d1026a31
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.
8 lines
169 B
Bash
Executable File
8 lines
169 B
Bash
Executable File
#!/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
|