File tree 3 files changed +43
-5
lines changed
3 files changed +43
-5
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
2
+ language : bash
3
+ os :
4
+ - linux
5
+
6
+ script :
7
+ # Download Arduino IDE
8
+ - wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
9
+ - tar xf arduino.tar.xz
10
+ - mv arduino-nightly $HOME/arduino_ide
11
+ # Download ESP8266 Arduino core
12
+ - cd $HOME/arduino_ide/hardware
13
+ - mkdir esp8266com
14
+ - cd esp8266com
15
+ - git clone https://github.com/esp8266/Arduino.git esp8266
16
+ - cd esp8266
17
+ - export ESP8266_ARDUINO_DIR="$PWD"
18
+ # Download toolchain and esptool
19
+ - cd tools
20
+ - python get.py
21
+ - export PATH="$PATH:$PWD/xtensa-lx106-elf/bin"
22
+ # Build axTLS
23
+ - cd $TRAVIS_BUILD_DIR
24
+ - make
25
+ # Copy the library into Arduino core
26
+ - cp bin/libaxtls.a $ESP8266_ARDUINO_DIR/tools/sdk/lib/libaxtls.a
27
+ # Try building examples in ESP8266WiFi library from the ESP8266 Arduino core
28
+ - /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
29
+ - sleep 3
30
+ - export DISPLAY=:1.0
31
+ - export PATH="$HOME/arduino_ide:$PATH"
32
+ - which arduino
33
+ - cd $ESP8266_ARDUINO_DIR
34
+ - source tests/common.sh
35
+ - arduino --board esp8266com:esp8266:generic --save-prefs
36
+ - arduino --get-pref sketchbook.path
37
+ - build_sketches arduino $ESP8266_ARDUINO_DIR/libraries/ESP8266WiFi/examples/HTTPSRequest
38
+ # Feel free to add more test cases (for other environments) here
39
+
40
+ notifications :
41
+ email :
42
+ on_success : change
43
+ on_failure : change
Original file line number Diff line number Diff line change 1
- include Makefile.local
2
-
3
1
TOOLCHAIN_PREFIX := xtensa-lx106-elf-
4
2
CC := $(TOOLCHAIN_PREFIX ) gcc
5
3
AR := $(TOOLCHAIN_PREFIX ) ar
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments