1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00
esp8266/tests/ci/build_boards.sh
Ivan Grokhotkov 79553e539a ci: fix checking CI_GITHUB_API_KEY, refactoring (#5496)
* ci: fix checking for presence of CI_GITHUB_API_KEY

CI_GITHUB_API_KEY is always set when evaluating job include/exclude conditions, and it only gets removed when the job starts. Move the check into the script.

* ci: split build jobs into separate shell scripts
2018-12-15 02:58:30 +01:00

15 lines
395 B
Bash
Executable File

#!/bin/bash
#
# CI job which checks that boards.txt and package_esp8266com_index.template.json are up to date
set -ev
cd $TRAVIS_BUILD_DIR
tools/boards.txt.py --boardsgen --ldgen --packagegen --docgen
git diff --exit-code -- boards.txt \
doc/boards.rst \
tools/sdk/ld/
git diff --exit-code -w -- package/package_esp8266com_index.template.json