From 413bfc7fb801da4e91f09fcf0939b86c9e371003 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Wed, 12 Jul 2017 14:01:15 +0200 Subject: [PATCH] Build on travis-ci. --- .travis.yml | 23 +++++++++++++++++++++++ README.md | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..30fb8d763 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +sudo: required + +language: c + +compiler: + - gcc + - clang + +arch: + packages: + - cmake + - wayland + - wayland-protocols + - mesa + - libinput + - libxkbcommon + - libcap + script: + - "cmake -DCMAKE_BUILD_TYPE=Release ." + - "make" + +script: + - "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash" diff --git a/README.md b/README.md index 4dcfed0ec..9648f2c21 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# wlroots +# wlroots [![](https://api.travis-ci.org/SirCmpwn/wlroots.svg)](https://travis-ci.org/SirCmpwn/wlroots) Pluggable, composable modules for building a Wayland compositor.