Skip to content

Commit 9f8eaa1

Browse files
authored
adding travis, removing travis from .gitignore (#38)
1 parent dcfbd00 commit 9f8eaa1

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,4 @@
77
# platformio (testing)
88
.pioenvs
99
.piolibdeps
10-
.travis.yml
1110
platformio.ini
12-

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: c
2+
sudo: false
3+
4+
# Blacklist
5+
branches:
6+
except:
7+
- gh-pages
8+
9+
env:
10+
global:
11+
- PRETTYNAME="Adafruit IO Arduino Library"
12+
13+
14+
before_install:
15+
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
16+
17+
install:
18+
- arduino --install-library "Adafruit IO Arduino","Adafruit MQTT Library","ArduinoHttpClient","Adafruit Unified Sensor","Adafruit NeoPixel","DHT sensor library"
19+
20+
script:
21+
# build ESP8266 target
22+
- build_platform esp8266
23+
# build SAMD target
24+
- arduino --install-library "WiFi101"
25+
- build_platform zero

0 commit comments

Comments
 (0)