Skip to content

Commit

Permalink
Add OS X to Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicgs committed Aug 18, 2016
1 parent 4eeddc0 commit 1d12243
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ language: c

cache: apt

sudo: false

os:
- linux
- osx

compiler:
- gcc
# - clang
Expand All @@ -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
Expand Down

0 comments on commit 1d12243

Please sign in to comment.