summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..145ebc6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: cpp
+compiler:
+ - gcc
+ - clang
+# Change this to your needs
+sudo: false
+script: mkdir /tmp/n && ./configure $SSL_FLAG $LUA_FLAG --prefix=/tmp/n && make && make check && make install && /tmp/n/bin/nmap -A localhost
+
+env:
+ - SSL_FLAG="--without-openssl" LUA_FLAG="--without-liblua"
+ - SSL_FLAG="" LUA_FLAG="--without-liblua"
+ - SSL_FLAG="--without-openssl" LUA_FLAG=""
+ - SSL_FLAG="" LUA_FLAG=""
+
+notifications:
+ irc:
+ channels:
+ - "chat.freenode.net#nmap"
+ on_success: change
+ on_failure: always