From: iceman1001 <iceman@iuse.se>
Date: Fri, 14 Oct 2016 14:13:06 +0000 (+0200)
Subject: chg:  trying to configure MAC OS as a builing environment for Travis CI
X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/a72971eb8cd0c6524b938ceb5d297efaebacffd6?ds=inline

chg:  trying to configure MAC OS as a builing environment for Travis CI
---

diff --git a/.travis.yml b/.travis.yml
index a259697e..a45f98dd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,31 @@
 # Travis-CI Build for Iceman Fork / Proxmark3
 language: c
 
-# Using trusty beta build environment,  based on Ubuntu 14.04
-sudo: required
-dist: trusty
+# multi platform build test
+os:
+  - linux
+  - osx
 
 #install:
 compiler: gcc
 
+# build matrix,  
+# LINUX : Using trusty beta build environment,  based on Ubuntu 14.04
+# MAC OS: 
+matrix:
+  include:
+    - os: linux
+      dist: trusty
+      sudo: required
+    - os: osx
+      osx_image: xcode7.2
+  allow_failures:
+    - os: osx
+	
+# MAC OS - dependencies?
+before_install:
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update          ; fi
+
 ## Install mainline ARM toolchain.  gcc-arm-none-eabi is available
 ## in Ubuntu >= 14.04, but this external PPA is needed for 12.04.
 before_script: