Skip to content

Commit af2e820

Browse files
authored
Merge pull request #38 from jxltom/patch-ci
Support Arduino compilation in Travis CI
2 parents d102386 + f03b2f3 commit af2e820

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.travis.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
language: c
2+
sudo: false
23

34
addons:
4-
sonarcloud:
5-
organization: "autowp-github"
6-
token:
7-
secure: $SONARCLOUD_TOKEN
5+
apt:
6+
sources:
7+
- llvm-toolchain-trusty-5.0
8+
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
89

910
script:
10-
- sonar-scanner || travis_terminate 1;
11+
- build_main_platforms
12+
13+
before_install:
14+
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
15+
16+
cache:
17+
directories:
18+
- ~/arduino_ide
19+
- ~/.arduino15/packages/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Arduino MCP2515 CAN interface library
22
---------------------------------------------------------
3-
3+
[![Build Status](https://travis-ci.org/autowp/arduino-mcp2515.svg?branch=master)](https://travis-ci.org/autowp/arduino-mcp2515)
44

55
<br>
66
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.

sonar-project.properties

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)