Skip to content

Commit

Permalink
Support Arduino in Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jxltom committed Mar 25, 2020
1 parent d102386 commit 93eb3e7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 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/
6 changes: 0 additions & 6 deletions sonar-project.properties

This file was deleted.

0 comments on commit 93eb3e7

Please sign in to comment.