summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-03 16:24:37 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-03 16:24:37 +0200
commit82042e7d91732ec0710c55358d86baafe24c4756 (patch)
treef61e38ab501327c4ce5f3faa71023389c3f0ee0a
parentb91143ff4258957189331cf63c2e58cace471614 (diff)
build: Add continuous integration support via travis-ci
This allows any libnl github repo to link to travis-ci which will result in new commits and pull requests to be automatically built with both gcc and clang. Any build failures including the addition of warnings are reported to the author and committer. Following Thomas Graf's suggestion: https://plus.google.com/103961622207897185587/posts/GaVC6jwcMgp Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--.gitignore1
-rw-r--r--.travis.yml6
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 18f3073..c9599d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,4 @@ config.log
# Excluded from ignorance
!.gitignore
+!.travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..99a1a70
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,6 @@
+language: c
+compiler:
+ - gcc
+ - clang
+
+script: ./configure && make