1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Split common.sh into separate scripts for each job (#5569)

This commit is contained in:
Robin Richtsfeld
2019-01-09 02:32:44 +01:00
committed by Earle F. Philhower, III
parent dc03293d82
commit 187f6a58b8
7 changed files with 195 additions and 120 deletions

19
tests/debug.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
cache_dir=$(mktemp -d)
source "$TRAVIS_BUILD_DIR"/tests/common.sh
if [ "$BUILD_PARITY" = "even" ]; then
mod=2
rem=0
elif [ "$BUILD_PARITY" = "odd" ]; then
mod=2
rem=1
fi
install_arduino debug
build_sketches_with_arduino "$mod" "$rem" lm2f
rm -rf "$cache_dir"