From 6b510da87235e03a97b96af45c80c961365c2ca1 Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Fri, 2 Jan 2015 08:13:51 -0800 Subject: [PATCH] Get Travis set up. --- .travis.yml | 5 +++++ script/test.py | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..eabebd0c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: c +compiler: + - gcc + - clang +script: make && make test \ No newline at end of file diff --git a/script/test.py b/script/test.py index 0a14e99a..ba3a6562 100755 --- a/script/test.py +++ b/script/test.py @@ -231,3 +231,6 @@ else: for key in sorted(skipped.keys()): print ('Skipped ' + color.YELLOW + str(skipped[key]) + color.DEFAULT + ' tests: ' + key) + +if failed != 0: + sys.exit(1) \ No newline at end of file