Slightly adjust execution order within the Travis tests

This commit is contained in:
Josh Stewart 2020-11-17 00:59:02 +11:00
parent bfbd04b899
commit 4101236e88
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,6 @@ script:
- 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 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)
- |
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
@ -71,6 +69,8 @@ script:
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
# Run the remote unit tests (only on master)
- 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then platformio remote test --environment megaatmega2560; fi'
#Build the doxygen documentation and commit to its repo (Only on master)
- |
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then