16 Commits

Author SHA1 Message Date
Stephan Lachnit
785df22274 travis: fix some config warnings
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-06-23 09:14:42 +01:00
Stephan Lachnit
115f1ecdbd meson: use builddir instead of build
Use the -C option instead of changing the dir, change the build folder to builddir.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-19 16:35:00 +01:00
Stephan Lachnit
c36019a9aa travis: run gamemoded -v as meson test
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Stephan Lachnit
6453a123ab add metainfo test
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Stephan Lachnit
f95470c94a travis: add libinih-dev as dependency
This will compile gamemode against the shared lib version of inih, as it should be in most distros.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Stephan Lachnit
a1660fc37a add gamemode-simulate-game to travis
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Stephan Lachnit
90d05eef42 travis: update to focal
This updates to Ubuntu 20.04 (focal) and uses it's provided Meson version.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Ahsan Fayaz
8b8113fb80 Stick to meson version 0.52.0. Version 0.53.0 has compatibility issues with python 3.5.2 which is shipped with Ubuntu 16.04. Better stick to a specific version and only update after checking compatibility. See mesonbuild/meson#6427. 2020-01-09 15:03:47 +00:00
Alex Smith
a837b8630c We depend on DBus development packages now 2019-05-29 16:02:49 +01:00
Marc Di Luzio
23dd471f6b Add clang analyzer check using scan-build 2019-05-19 12:47:32 +01:00
Marc Di Luzio
7ede50af39 Make sure we actually build the examples in the travis tests
Otherwise failing changes to gamemode_client.h risk passing
2019-05-15 18:56:14 +01:00
Marc Di Luzio
568d9b5b51 Run gamemoded -v as well to ensure basic functionality works 2019-01-28 18:57:56 +00:00
Marc Di Luzio
0c35f32c55 Run bootstrap in the integration 2019-01-28 18:57:56 +00:00
Marc Di Luzio
57cf99ba85 Install dependencies needed for build 2019-01-28 18:57:09 +00:00
Marc Di Luzio
b2de93bd14 Upgrade the travis docker image to use xenial
Fix clang-format package name
2019-01-28 18:50:12 +00:00
Marc Di Luzio
1f12bcb892 Add a basic travis file for unit tests
Only code formatting implemented at the moment.

  Travis is currently Ubuntu 14.04, which is missing multiple library versions needed. Bootstrapping in Python 3.5, Meson and Ninja is possible, but can take a while, but also bootstrapping in libsystemd is one step too many for now as it takes a significant amount of time.
2018-04-13 14:32:02 +01:00