about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-05-26 02:09:19 -0400
committerFedor Indutny <fedor@indutny.com>2016-05-26 02:09:19 -0400
commit21de1ba47c4bbdaed690cb6579094465291a7475 (patch)
tree4b0ffca09d231b247206430dc67472a771663721
parent1e6358c6e292beafaa09cd4298552d73b5aaa3a0 (diff)
downloaduv_link_t-21de1ba47c4bbdaed690cb6579094465291a7475.tar.gz
travis: initial
-rw-r--r--.travis.yml9
-rw-r--r--Makefile6
2 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e9daf2b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,9 @@
+language: c
+sudo: false
+before_install:
+  - git clone https://chromium.googlesource.com/external/gyp.git tools/gyp
+  - git clone git://github.com/libuv/libuv.git test/deps/libuv
+branches:
+  only:
+    - master
+script: make test
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..077d529
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+test:
+	./gyp_uv_link test -Duv_dir=./test/deps/libuv
+	make -C out/ -j8
+	./out/Release/uv_link_t-test
+
+.PHONY: test