-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy path.travis.yml
30 lines (29 loc) · 807 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: c
sudo: false
cache:
directories:
- ~/arduino_ide
- ~/.arduino15/packages/
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
- arduino --install-library "ArduinoUnit"
script:
- build_main_platforms
notifications:
email:
on_success: change
on_failure: change
jobs:
include:
- stage: Deploy Documentation
script:
- source <(curl -SLs https://raw.githubusercontent.com/bakercp/ci/master/deploy_documentation.sh)
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: false
local_dir: docs/html
on:
branch: master