summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ab8d004
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+dist: xenial
+addons:
+ apt:
+ sources:
+ - sourceline: 'ppa:dns-oarc/dsc-pr'
+ update: true
+ packages:
+ - protobuf-c-compiler
+ - libprotobuf-c-dev
+ - libuv1-dev
+ - libtinyframe-dev
+language: c
+compiler:
+ - clang
+ - gcc
+install: ./autogen.sh
+script:
+ - ./configure --enable-warn-all
+ - make dist
+ - tar zxvf *.tar.gz
+ - cd dnswire-[0-9]*
+ - mkdir build
+ - cd build
+ - ../configure --enable-warn-all
+ - make
+ - make test
+ - cat src/test/test*.sh.log