1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
From 1d122431a092f569d216061e09d68c39dcfa2edb Mon Sep 17 00:00:00 2001
From: Dominic Spill <dominicgs@gmail.com>
Date: Thu, 18 Aug 2016 09:01:04 +0100
Subject: [PATCH 090/111] Add OS X to Travis build
---
.travis.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index ceae2ae..ccdbafd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,12 @@ language: c
cache: apt
+sudo: false
+
+os:
+ - linux
+ - osx
+
compiler:
- gcc
# - clang
@@ -12,6 +18,10 @@ before_script:
# - export PATH=$PWD/gcc-arm-none-eabi-5_3-2016q1/bin:$PATH
- export CFLAGS="-Wall -Wextra -Werror"
+before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libusb; fi
+
script:
- mkdir host/build
- cd host/build
--
2.1.4
|