mirror of
https://github.com/thelsing/knx.git
synced 2025-08-22 13:46:21 +02:00
save work
This commit is contained in:
parent
dfdcecb8e3
commit
208e52fbfe
79
.travis.yml
79
.travis.yml
@ -18,15 +18,18 @@
|
|||||||
git:
|
git:
|
||||||
depth: false
|
depth: false
|
||||||
quiet: true
|
quiet: true
|
||||||
before_install:
|
|
||||||
- eval "${MATRIX_EVAL}"
|
before_install:
|
||||||
install:
|
- eval "${MATRIX_EVAL}"
|
||||||
script:
|
|
||||||
- cd knx-linux
|
install:
|
||||||
- mkdir -p build
|
|
||||||
- cd build
|
script:
|
||||||
- cmake ..
|
- cd knx-linux
|
||||||
- make
|
- mkdir -p build
|
||||||
|
- cd build
|
||||||
|
- cmake ..
|
||||||
|
- make
|
||||||
|
|
||||||
# Test build for Arduino platform
|
# Test build for Arduino platform
|
||||||
- language: cpp
|
- language: cpp
|
||||||
@ -39,38 +42,38 @@
|
|||||||
git:
|
git:
|
||||||
depth: false
|
depth: false
|
||||||
quiet: true
|
quiet: true
|
||||||
before_install:
|
before_install:
|
||||||
- downloadArduinoLib() { wget -O $1.zip $2; unzip -o $1.zip -d $HOME/arduino_ide/libraries; }
|
- downloadArduinoLib() { wget -O $1.zip $2; unzip -o $1.zip -d $HOME/arduino_ide/libraries; }
|
||||||
- source <(curl -SLs "https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh")
|
- source <(curl -SLs "https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh")
|
||||||
- downloadArduinoLib FlashStorage "https://github.com/thelsing/FlashStorage/archive/master.zip"
|
- downloadArduinoLib FlashStorage "https://github.com/thelsing/FlashStorage/archive/master.zip"
|
||||||
- downloadArduinoLib BSEC "https://github.com/BoschSensortec/BSEC-Arduino-library/archive/master.zip"
|
- downloadArduinoLib BSEC "https://github.com/BoschSensortec/BSEC-Arduino-library/archive/master.zip"
|
||||||
# only default warning level
|
# only default warning level
|
||||||
- sed -i 's#compiler.warning_level=all#compiler.warning_level=default#' ~/.arduino15/preferences.txt
|
- sed -i 's#compiler.warning_level=all#compiler.warning_level=default#' ~/.arduino15/preferences.txt
|
||||||
# changes for bsec lib
|
# changes for bsec lib
|
||||||
# samd
|
# samd
|
||||||
- sed -ri 's#(recipe.c.combine.pattern=[^$]*\{archive_file\}")( -Wl,--end-group)#\1 {compiler.libraries.ldflags}\2#' ~/.arduino15/packages/arduino/hardware/samd/1.8.4/platform.txt
|
- sed -ri 's#(recipe.c.combine.pattern=[^$]*\{archive_file\}")( -Wl,--end-group)#\1 {compiler.libraries.ldflags}\2#' ~/.arduino15/packages/arduino/hardware/samd/1.8.4/platform.txt
|
||||||
- sed -i 's#compiler.elf2hex.extra_flags=#compiler.elf2hex.extra_flags=\ncompiler.libraries.ldflags=#' ~/.arduino15/packages/arduino/hardware/samd/1.8.4/platform.txt
|
- sed -i 's#compiler.elf2hex.extra_flags=#compiler.elf2hex.extra_flags=\ncompiler.libraries.ldflags=#' ~/.arduino15/packages/arduino/hardware/samd/1.8.4/platform.txt
|
||||||
# esp8266
|
# esp8266
|
||||||
- sed -ri 's#(recipe.c.combine.pattern=[^$]*\{compiler.c.elf.libs\})( -Wl,--end-group "-L\{build.path\}")#\1 {compiler.libraries.ldflags}\2#' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/platform.txt
|
- sed -ri 's#(recipe.c.combine.pattern=[^$]*\{compiler.c.elf.libs\})( -Wl,--end-group "-L\{build.path\}")#\1 {compiler.libraries.ldflags}\2#' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/platform.txt
|
||||||
- sed -i 's#compiler.elf2hex.extra_flags=#compiler.elf2hex.extra_flags=\ncompiler.libraries.ldflags=#' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/platform.txt
|
- sed -i 's#compiler.elf2hex.extra_flags=#compiler.elf2hex.extra_flags=\ncompiler.libraries.ldflags=#' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/platform.txt
|
||||||
- sed -i '/^.*libalgobsec.*$/d' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/tools/sdk/ld/eagle.app.v6.common.ld.h
|
- sed -i '/^.*libalgobsec.*$/d' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/tools/sdk/ld/eagle.app.v6.common.ld.h
|
||||||
- sed -ri 's#(\*libwps\.a:\(\.literal\.\* \.text\.\*\))#\1\n *libalgobsec.a:(.literal.* .text.*)#' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/tools/sdk/ld/eagle.app.v6.common.ld.h
|
- sed -ri 's#(\*libwps\.a:\(\.literal\.\* \.text\.\*\))#\1\n *libalgobsec.a:(.literal.* .text.*)#' ~/.arduino15/packages/esp8266/hardware/esp8266/2.6.2/tools/sdk/ld/eagle.app.v6.common.ld.h
|
||||||
|
|
||||||
# the HDC100X lib is not properly set up in githup so move things around a bit
|
# the HDC100X lib is not properly set up in githup so move things around a bit
|
||||||
- rm -rf $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master
|
- rm -rf $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master
|
||||||
- downloadArduinoLib HDC100X "https://github.com/RFgermany/HDC100X_Arduino_Library/archive/master.zip"
|
- downloadArduinoLib HDC100X "https://github.com/RFgermany/HDC100X_Arduino_Library/archive/master.zip"
|
||||||
- mv $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master/HDC100X/* $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master
|
- mv $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master/HDC100X/* $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master
|
||||||
#- buildExampleSketch() { arduino --verify --board $BOARD $PWD/examples/$1/$1.ino; }
|
#- buildExampleSketch() { arduino --verify --board $BOARD $PWD/examples/$1/$1.ino; }
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- arduino --install-library "WiFiManager"
|
- arduino --install-library "WiFiManager"
|
||||||
script:
|
script:
|
||||||
# - buildExampleSketch knx-demo
|
# - buildExampleSketch knx-demo
|
||||||
# - buildExampleSketch knx-sonoffS20
|
# - buildExampleSketch knx-sonoffS20
|
||||||
# - buildExampleSketch knx-bme680
|
# - buildExampleSketch knx-bme680
|
||||||
# - buildExampleSketch knx-hdc1008
|
# - buildExampleSketch knx-hdc1008
|
||||||
- build_platform zero
|
- build_platform zero
|
||||||
- build_platform esp8266
|
- build_platform esp8266
|
||||||
|
|
||||||
# Test build for PlatformIO based projects
|
# Test build for PlatformIO based projects
|
||||||
- language: python
|
- language: python
|
||||||
|
Loading…
Reference in New Issue
Block a user