Add automatic build to Travis for stm32f407 black

This commit is contained in:
Josh Stewart 2020-08-10 14:19:09 +10:00
parent 6faab8e485
commit a1aa4f25d9
1 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,7 @@ script:
- platformio update
- platformio platform update
# Run the builds (Mega must be last so that the hex file isn't cleaned up)
- platformio run -e teensy35 -e teensy41 -e megaatmega2561 -e megaatmega2560
- platformio run -e teensy35 -e teensy41 -e black_F407VE -e megaatmega2561 -e megaatmega2560
# Run the remote unit tests (only on master)
- 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then platformio remote test --environment megaatmega2560; fi'
# Uploading the firmware to speeduino.com (Only on master)
@ -68,7 +68,6 @@ script:
# Upload ini and hex files to speeduino.com server
curl -v https://speeduino.com:2078 || true
curl -v --tlsv1.2 --ipv4 --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pio/build/megaatmega2560/firmware.hex" "https://speeduino.com:2078/bin/master.hex"
curl -v --tlsv1.2 --ipv4 --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pio/build/DropBearT/firmware.hex" "https://speeduino.com:2078/dropbear/master.hex"
curl -v --tlsv1.2 --ipv4 --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pio/build/teensy35/firmware.hex" "https://speeduino.com:2078/teensy35/master.hex"
curl --tlsv1.2 --ipv4 --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./reference/speeduino.ini" "https://speeduino.com:2078/master.ini"
fi