aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-07-12 09:24:42 -0400
committerGitHub <noreply@github.com>2017-07-12 09:24:42 -0400
commit699b3647875605a05a7f76fef8a1e4f9debf1310 (patch)
tree6523db9b1bfae332cb44760aaf16e83cd855dd09
parent73a908665d203503e37db21fbcb199e9b86ac78e (diff)
parent413bfc7fb801da4e91f09fcf0939b86c9e371003 (diff)
Merge pull request #30 from mikkeloscar/add-travis
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.