Add extra curl options to force tls1.2 in firmware upload

This commit is contained in:
Josh Stewart 2019-09-03 00:02:26 +10:00
parent 9b9e6d52ef
commit b597063a57
1 changed files with 2 additions and 2 deletions

View File

@ -68,10 +68,10 @@ script:
# Run the builds (Mega must be last so that the hex file isn't cleaned up)
- platformio run -e teensy35 -e teensy40 -e megaatmega2560
# Upload ini and hex files to speeduino.com server
- curl --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/megaatmega2560/firmware.hex" "https://speeduino.com:2078/bin/master.hex"
- curl --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./reference/speeduino.ini" "https://speeduino.com:2078/master.ini"
# Begin MISRA scan
#- cd ..
- cd ..
#- chmod +x speeduino/misra/check_misra_github.sh
#- speeduino/misra/check_misra_github.sh
# Do doxygen run and upload to gh-pages server.