Added build file for Travis-CI.

This commit is contained in:
Vincent Richard 2013-03-06 22:17:20 +01:00
parent 5aa9bffe84
commit 300737e922

24
.travis.yml Normal file
View File

@ -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