Skip to content

Commit

Permalink
Merge pull request #38 from jxltom/patch-ci
Browse files Browse the repository at this point in the history
Support Arduino compilation in Travis CI
  • Loading branch information
jxltom authored Mar 25, 2020
2 parents d102386 + f03b2f3 commit af2e820
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
19 changes: 14 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
language: c
sudo: false

addons:
sonarcloud:
organization: "autowp-github"
token:
secure: $SONARCLOUD_TOKEN
apt:
sources:
- llvm-toolchain-trusty-5.0
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'

script:
- sonar-scanner || travis_terminate 1;
- build_main_platforms

before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)

cache:
directories:
- ~/arduino_ide
- ~/.arduino15/packages/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Arduino MCP2515 CAN interface library
---------------------------------------------------------

[![Build Status](https://travis-ci.org/autowp/arduino-mcp2515.svg?branch=master)](https://travis-ci.org/autowp/arduino-mcp2515)

<br>
CAN-BUS is a common industrial bus because of its long travel distance, medium communication speed and high reliability. It is commonly found on modern machine tools and as an automotive diagnostic bus. This CAN-BUS Shield gives your Arduino/Seeeduino CAN-BUS capibility. With an OBD-II converter cable added on and the OBD-II library imported, you are ready to build an onboard diagnostic device or data logger.
Expand Down
6 changes: 0 additions & 6 deletions sonar-project.properties

This file was deleted.

0 comments on commit af2e820

Please sign in to comment.