Fix incorrect cppcheck path

This commit is contained in:
Josh Stewart 2019-06-25 18:39:15 +10:00
parent f84583d4bb
commit 55537a447a
2 changed files with 4 additions and 3 deletions

View File

@ -66,8 +66,8 @@ script:
# Run the builds
- platformio run -e megaatmega2560 -e teensy35
# Upload ini and hex files to speeduino.com server
- curl -v --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pioenvs/megaatmega2560/firmware.hex" "https://speeduino.com:2078/bin/master.hex"
- curl -v --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./reference/speeduino.ini" "https://speeduino.com:2078/master.ini"
- curl --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pioenvs/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 ..
- chmod +x speeduino/misra/check_misra_github.sh

View File

@ -1,7 +1,8 @@
#!/bin/bash
cppcheck_path=cppcheck_github/
cppcheck_bin="${cppcheck_path}cppcheck"
#cppcheck_bin="${cppcheck_path}cppcheck"
cppcheck_bin="cppcheck"
cppcheck_misra="${cppcheck_path}addons/misra.py"
if [ -f ./results.txt ]; then