aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2013-03-06 21:17:20 +0000
committerVincent Richard <[email protected]>2013-03-06 21:17:20 +0000
commit300737e92295ad254a219d94461f443414294eaf (patch)
tree9656ef660f16c951046dc7399610a7b98f6723be /.travis.yml
parentFixes for out-of-source build. (diff)
downloadvmime-300737e92295ad254a219d94461f443414294eaf.tar.gz
vmime-300737e92295ad254a219d94461f443414294eaf.zip
Added build file for Travis-CI.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..0fc3cca6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,24 @@
+# Travis-CI build file for VMime
+# See http://travis-ci.org for details
+
+language: cpp
+
+compiler:
+ - gcc
+ - clang
+
+# Settings
+env:
+ - OPTIONS="-DCMAKE_BUILD_TYPE=Debug"
+
+# Make sure some required tools are installed
+install:
+ - sudo apt-get update >/dev/null
+ - sudo apt-get -q install cmake valgrind
+
+# Run the build script
+script:
+ - mkdir _build
+ - cd _build
+ - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
+ - cmake --build . --target install