Skip to content

Instantly share code, notes, and snippets.

@kevinmmartins
Last active April 5, 2019 17:39
Show Gist options
  • Save kevinmmartins/1d7668055785af42340ec996e3b74cb2 to your computer and use it in GitHub Desktop.
Save kevinmmartins/1d7668055785af42340ec996e3b74cb2 to your computer and use it in GitHub Desktop.
Travis CI to Arduino Uno
language: c
sudo: false
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
- sudo apt-get install -qq gcc-avr binutils-avr avr-libc
- arduino --install-library "aREST"
script:
- build_platform uno
notifications:
email:
on_success: change
on_failure: change
@kevinmmartins
Copy link
Author

You can add your necessaries libraries using the following command inside the install tag:

- arduino --install-library "Library name"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment