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

Commit ec3033e

Browse files
committed
Merge remote-tracking branch 'origin/feature/travis-ci' into feature/appveyor-ci
2 parents 62b7f06 + bcfe1f2 commit ec3033e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,23 @@ env:
88
addons:
99
apt:
1010
packages:
11-
- gcc-avr
1211
- binutils-avr
1312
- avr-libc
1413
- avrdude
1514
- cmake
1615
before_install:
1716
- |
1817
if [[ $TRAVIS_OS_NAME == linux ]]; then
19-
export ARDUINO_SDK_FILE="arduino-$ARDUINO_SDK_VERSION-linux32.tar.xz"
18+
export ARDUINO_SDK_FILE="arduino-$ARDUINO_SDK_VERSION-linux64.tar.xz"
2019
else
2120
export ARDUINO_SDK_FILE="arduino-$ARDUINO_SDK_VERSION-macosx.zip"
22-
brew install cmake
2321
fi
2422
- wget "https://downloads.arduino.cc/$ARDUINO_SDK_FILE" -O "$ARDUINO_SDK_FILE"
2523
- mkdir arduino-sdk
2624
- |
2725
if [[ $TRAVIS_OS_NAME == linux ]]; then
2826
tar xf "$ARDUINO_SDK_FILE" -C arduino-sdk --strip-components 1
29-
export ARDUINO_SDK_PATH="$(pwd)/arduino-sdk"
27+
export ARDUINO_SDK_PATH="$PWD/arduino-sdk"
3028
else
3129
unzip "$ARDUINO_SDK_FILE" "Arduino.app/Contents/Java/*" -d arduino-sdk
3230
export ARDUINO_SDK_PATH="$(pwd)/arduino-sdk/Arduino.app/Contents/Java"
@@ -36,7 +34,7 @@ install:
3634
- rm -rf build/*
3735
- cd build/
3836
script:
39-
- cmake -D CMAKE_TOOLCHAIN_FILE="../cmake/Arduino-Toolchain.cmake" ..
37+
- cmake -D CMAKE_TOOLCHAIN_FILE="../cmake/Arduino-Toolchain.cmake" ../examples
4038
- make
41-
after_script:
39+
after_failure:
4240
- cat CMakeFiles/CMakeOutput.log

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Arduino-CMake NG
22

33
[![AppVeyor Build](https://ci.appveyor.com/api/projects/status/github/arduino-cmake/Arduino-CMake-NG?svg=true&passingText=Windows%20-%20Passing&failingText=Windows%20-%20Failing&pendingText=Windows%20-%20Pending)](https://ci.appveyor.com/project/arduino-cmake/arduino-cmake-ng)
4+
[![Travis CI](https://img.shields.io/travis/arduino-cmake/Arduino-CMake-NG/branch=develop.svg?label=Linux and OS X &logo=travis)](https://travis-ci.org/arduino-cmake/Arduino-CMake-NG)
45

56
**Arduino-CMake** is a framework which allows developers to write Arduino-based programs using any tool that supports cmake. *Arduino-based*? There are many other frameworks out there built upon Arduino's base, such as ESP32, and **we support that**.
67
In other words, developers can use their favorite IDEs or text editors on their favorite OS to develop Arduino programs!

0 commit comments

Comments
 (0)