summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2016-11-02 02:43:25 +0100
committerMartin Stensgård <mastensg@mastensg.net>2016-11-02 02:43:25 +0100
commit3d07b84ddd33a4a52c7ba12a3f836f015665ebd9 (patch)
tree2c524dfec9a2240b138e4e48535500427d885249
parent73da8a3ac056cb1c442fc3a24b0148037b180392 (diff)
have travis-ci run a test suite
-rw-r--r--.travis.yml5
-rw-r--r--Makefile.am6
2 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b781822
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,5 @@
+language: c
+
+compiler:
+ - clang
+ - gcc
diff --git a/Makefile.am b/Makefile.am
index 1c47b0c..898f522 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,3 +10,9 @@ ray_LDFLAGS = -pthread
ray_headless_SOURCES = main_headless.c ray.c 3dmath.c 3dmath.h
ray_headless_LDADD = -lm
ray_headless_LDFLAGS = -pthread
+
+TESTS = ./test-profile-arcs.sh
+
+.PHONY: test
+
+test: check