Skip to content
This repository was archived by the owner on Apr 13, 2021. It is now read-only.

Commit e03b176

Browse files
committed
Test on OSX Travis
1 parent 8bbc35e commit e03b176

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ sudo: false
55
# https://gist.github.com/winterz/10cc2741d466cbd8ff21
66
# https://github.com/travis-ci/travis-ci/issues/2030
77

8+
os:
9+
- linux
10+
- osx
11+
812
cache: pip
913

1014
addons:
@@ -32,9 +36,9 @@ install:
3236
- export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/build/install/usr/local/lib
3337
# Install ARM GCC toolchain
3438
# TODO: Replace with PPA once whitelisted, see https://github.com/travis-ci/apt-source-whitelist/pull/219
35-
- wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update/+download/gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2
36-
- tar -xf gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2
37-
- export PATH=$PATH:$PWD/gcc-arm-none-eabi-4_9-2015q2/bin
39+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update/+download/gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2 ; fi
40+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; tar -xf gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2 ; fi
41+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; export PATH=$PATH:$PWD/gcc-arm-none-eabi-4_9-2015q2/bin ; fi
3842
# Install doxygen 1.8
3943
# TODO: Replace with PPA once whitelisted, see https://github.com/travis-ci/apt-source-whitelist/issues/40
4044

0 commit comments

Comments
 (0)