You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by dm...@apache.org on 2014/12/13 00:49:20 UTC

mesos git commit: Add travis config file for travis-ci.org.

Repository: mesos
Updated Branches:
  refs/heads/master a8ee2d320 -> 968a305c1


Add travis config file for travis-ci.org.

define a travis config file to build debug and release configs on clang
and gcc for linux and osx.

Review: https://reviews.apache.org/r/28683


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/968a305c
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/968a305c
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/968a305c

Branch: refs/heads/master
Commit: 968a305c1d48e4cc7e7582aeed77d47aa8dbfcc6
Parents: a8ee2d3
Author: Dominic Hamon <dh...@twopensource.com>
Authored: Fri Dec 12 15:42:59 2014 -0800
Committer: Dominic Hamon <dh...@twitter.com>
Committed: Fri Dec 12 15:43:22 2014 -0800

----------------------------------------------------------------------
 .travis.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/968a305c/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..e149afa
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,28 @@
+matrix:
+  include:
+    - os: linux
+      env: BUILD_TYPE=Debug
+    - os: linux
+      env: BUILD_TYPE=Release
+    - os: osx
+      env: BUILD_TYPE=Debug
+    - os: osx
+      env: BUILD_TYPE=Release
+language: cpp
+compiler:
+  - clang
+  - gcc
+before_script:
+  - ./bootstrap.sh
+  - mkdir build && cd build
+script:
+  - if [ "$BUILD_TYPE" = "Debug" ]; then ../configure --enable-debug; fi
+  - if [ "$BUILD_TYPE" = "Release" ]; then ../configure; fi
+  - make
+  - make check
+notifications:
+  irc:
+    channels:
+      - "chat.freenode.net#mesos"
+    template:
+      - "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"