diff --git a/.travis.yml b/.travis.yml index 568a9984..38833838 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ script: - platformio run -e teensy35 -e teensy40 -e megaatmega2560 # The uploading of the firmware and doxygen files are only performed on the master branch - | - if [ "$TRAVIS_BRANCH" == "master" ]; then + if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then # 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"