aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik Larsen <m@moscar.net>2017-07-12 14:01:15 +0200
committerMikkel Oscar Lyderik Larsen <m@moscar.net>2017-07-12 14:31:43 +0200
commit413bfc7fb801da4e91f09fcf0939b86c9e371003 (patch)
treebbd52470ed443fd53a75c63ce526cc0d9ad1e362
parentb08aa9fd35d650b15a5322bd1b6edea01f152f27 (diff)
Build on travis-ci.
-rw-r--r--.travis.yml23
-rw-r--r--README.md2
2 files changed, 24 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..30fb8d76
--- /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 4dcfed0e..9648f2c2 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.