From 53ed88f0431bf85abcbe314b88165fe38904ba55 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Sat, 24 Aug 2013 23:29:55 -0700 Subject: Added CMake build to travis --- scripts/travis/before-script.sh | 3 ++- scripts/travis/script.sh | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts/travis') diff --git a/scripts/travis/before-script.sh b/scripts/travis/before-script.sh index 45b429fa..b8753159 100755 --- a/scripts/travis/before-script.sh +++ b/scripts/travis/before-script.sh @@ -2,4 +2,5 @@ set -e brew update -brew install xctool +#brew install xctool +brew install cmake diff --git a/scripts/travis/script.sh b/scripts/travis/script.sh index d9dfa28b..a786e960 100755 --- a/scripts/travis/script.sh +++ b/scripts/travis/script.sh @@ -16,3 +16,9 @@ echo Building framework for Mac xcodebuild -project build-mac/mailcore2.xcodeproj -sdk macosx10.8 -target "mailcore osx" build > /dev/null echo Link test for Mac xcodebuild -project build-mac/mailcore2.xcodeproj -sdk macosx10.8 -target "tests" build > /dev/null + +echo Testing CMake build +mkdir -p build-cmake +cd build-cmake +cmake .. +make -- cgit v1.2.3