aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rwxr-xr-xscripts/travis_run.sh3
2 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d9074a1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,6 @@
+language: c
+compiler: clang
+script: ./scripts/travis_run.sh
+install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -y libx11-dev libimlib2-dev
diff --git a/scripts/travis_run.sh b/scripts/travis_run.sh
new file mode 100755
index 0000000..ef9c7b0
--- /dev/null
+++ b/scripts/travis_run.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+cmake -g 'Unix Makefiles' .
+make