Skip to content

Commit 016e02f

Browse files
authored
Merge pull request #35 from tobozo/lgfx
Update for ESP32-Chimera-Core LovyanGFX Edition
2 parents cc2db05 + f96d3fa commit 016e02f

21 files changed

+2515
-560
lines changed

.travis.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ before_install:
1818

1919
# Formatting checks:
2020
# Check for files starting with a blank line
21-
- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -print0 | xargs -0 -L1 bash -c 'head -1 "$0" | grep --binary-files=without-match --regexp="^$"; if [[ "$?" == "0" ]]; then echo "Blank line found at start of $0."; false; fi'
21+
#- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -print0 | xargs -0 -L1 bash -c 'head -1 "$0" | grep --binary-files=without-match --regexp="^$"; if [[ "$?" == "0" ]]; then echo "Blank line found at start of $0."; false; fi'
2222
# don't check for tabs
23-
- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f \( ! -iname ".gitmodules" \) -exec grep --with-filename --line-number --binary-files=without-match --regexp=$'\t' '{}' \; -exec echo 'Tab found.' \; -exec false '{}' +
23+
#- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f \( ! -iname ".gitmodules" \) -exec grep --with-filename --line-number --binary-files=without-match --regexp=$'\t' '{}' \; -exec echo 'Tab found.' \; -exec false '{}' +
2424
# Check for trailing whitespace
25-
- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -exec grep --with-filename --line-number --binary-files=without-match --regexp='[[:blank:]]$' '{}' \; -exec echo 'Trailing whitespace found.' \; -exec false '{}' +
25+
#- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -exec grep --with-filename --line-number --binary-files=without-match --regexp='[[:blank:]]$' '{}' \; -exec echo 'Trailing whitespace found.' \; -exec false '{}' +
2626
# Check for non-Unix line endings
27-
- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -exec grep --files-with-matches --binary-files=without-match --regexp=$'\r$' '{}' \; -exec echo 'Non-Unix EOL detected.' \; -exec false '{}' +
27+
#- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -exec grep --files-with-matches --binary-files=without-match --regexp=$'\r$' '{}' \; -exec echo 'Non-Unix EOL detected.' \; -exec false '{}' +
2828
# Check for blank lines at end of files
29-
- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -print0 | xargs -0 -L1 bash -c 'tail -1 "$0" | grep --binary-files=without-match --regexp="^$"; if [[ "$?" == "0" ]]; then echo "Blank line found at end of $0."; false; fi'
29+
#- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -print0 | xargs -0 -L1 bash -c 'tail -1 "$0" | grep --binary-files=without-match --regexp="^$"; if [[ "$?" == "0" ]]; then echo "Blank line found at end of $0."; false; fi'
3030
# Check for files that don't end in a newline (https://stackoverflow.com/a/25686825)
31-
- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -print0 | xargs -0 -L1 bash -c 'if test "$(grep --files-with-matches --binary-files=without-match --max-count=1 --regexp='.*' "$0")" && test "$(tail --bytes=1 "$0")"; then echo "No new line at end of $0."; false; fi'
31+
#- find . -type d \( -path './.git' -o -path './examples' -o -path './src/Fonts' \) -prune -or -type f -print0 | xargs -0 -L1 bash -c 'if test "$(grep --files-with-matches --binary-files=without-match --max-count=1 --regexp='.*' "$0")" && test "$(tail --bytes=1 "$0")"; then echo "No new line at end of $0."; false; fi'
3232

3333
- git clone https://github.com/per1234/arduino-ci-script.git "${HOME}/scripts/arduino-ci-script"
3434
- cd "${HOME}/scripts/arduino-ci-script"
@@ -52,11 +52,14 @@ before_install:
5252

5353
# Install the library from the repository
5454
#- install_library ESP32-Chimera-Core
55-
- install_library https://github.com/tobozo/ESP32-Chimera-Core/archive/master.zip
55+
- install_library https://github.com/tobozo/ESP32-Chimera-Core/archive/lgfx_test.zip
5656
- install_library https://github.com/PaulStoffregen/Time/archive/master.zip
57-
- install_library M5Stack-SD-Updater
57+
#- install_library M5Stack-SD-Updater
58+
- install_library "M5Stack-SD-Updater"
5859
- install_library Sqlite3Esp32
59-
- install_library https://github.com/tobozo/ESP32-BLECollector/releases/download/1.3/BLE.zip
60+
- install_library https://github.com/mikalhart/TinyGPSPlus/archive/master.zip
61+
#- install_library https://github.com/tobozo/ESP32-BLECollector/releases/download/1.3/BLE.zip
62+
- install_library https://github.com/tobozo/NimBLE-Arduino/archive/master.zip
6063
- install_package "esp32:esp32" "https://dl.espressif.com/dl/package_esp32_index.json" # # esp32:esp32:m5stack-core-esp32
6164
- pip install pyserial
6265

@@ -112,7 +115,7 @@ deploy:
112115
- "/tmp/BLECollector-binaries/M5stack-BLECollector.bin"
113116
- "/tmp/BLECollector-binaries/OdroidGo-BLECollector.bin"
114117
- "/tmp/BLECollector-binaries/M5Fire-BLECollector.bin"
115-
#skip_cleanup: true
118+
skip_cleanup: true
116119
# draft: true
117120
on:
118-
branch: master
121+
branch: unstable

0 commit comments

Comments
 (0)