mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Convert the continuous integration process to use GitHub's internal CI cloud. Allows us to run up to 20 jobs in parallel, speeding up CI immensely. Keep a short Travis-CI run, too, just for sanity and backup. Uses new keys and secret when publishing a release to esp8266.github.io.
22 lines
354 B
Bash
22 lines
354 B
Bash
#!/usr/bin/env bash
|
|
|
|
cache_dir=$(mktemp -d)
|
|
|
|
source "$TRAVIS_BUILD_DIR"/tests/common.sh
|
|
|
|
if [ -z "$BUILD_PARITY" ]; then
|
|
mod=1
|
|
rem=0
|
|
elif [ "$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" lm6f
|
|
|
|
rm -rf "$cache_dir"
|