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

Commit b2ca2e9

Browse files
committed
Fixed problem with OS X - Builds failed because CMake was already installed.
1 parent 5a1bd55 commit b2ca2e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ env:
88
addons:
99
apt:
1010
packages:
11-
- gcc-avr
1211
- binutils-avr
1312
- avr-libc
1413
- avrdude
@@ -19,7 +18,7 @@ before_install:
1918
export ARDUINO_SDK_FILE="arduino-$ARDUINO_SDK_VERSION-linux32.tar.xz"
2019
else
2120
export ARDUINO_SDK_FILE="arduino-$ARDUINO_SDK_VERSION-macosx.zip"
22-
brew install cmake
21+
brew upgrade cmake
2322
fi
2423
- wget "https://downloads.arduino.cc/$ARDUINO_SDK_FILE" -O "$ARDUINO_SDK_FILE"
2524
- mkdir arduino-sdk
@@ -38,5 +37,5 @@ install:
3837
script:
3938
- cmake -D CMAKE_TOOLCHAIN_FILE="../cmake/Arduino-Toolchain.cmake" ../examples
4039
- make
41-
after_success:
40+
after_failure:
4241
- cat CMakeFiles/CMakeOutput.log

0 commit comments

Comments
 (0)