From a72971eb8cd0c6524b938ceb5d297efaebacffd6 Mon Sep 17 00:00:00 2001
From: iceman1001 <iceman@iuse.se>
Date: Fri, 14 Oct 2016 16:13:06 +0200
Subject: [PATCH] chg:  trying to configure MAC OS as a builing environment for
 Travis CI

---
 .travis.yml | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

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:
-- 
2.39.5