Add travis integration.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2020-11-30 15:29:57 +00:00
parent ad1382ec36
commit 2b6093861c
2 changed files with 28 additions and 0 deletions

19
.travis.yml Normal file
View file

@ -0,0 +1,19 @@
dist: focal
addons:
apt:
packages
- cmake
- libyaml-dev
- libminizip-dev
- qtbase5-dev
- qtmultimedia5-dev
- libqt5gamepad5-dev
- libboost-program-options-dev
- libncurses-dev
- libevdev-dev
- libsdl2-image-dev
language: cpp
script: source/linux/build.sh

9
source/linux/build.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
set -euxo pipefail
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
make