Update Travis built to Bionic to try and fix SSL issue

This commit is contained in:
Josh Stewart 2019-09-05 12:32:50 +10:00
parent 186ca9e468
commit 91f295baae
1 changed files with 4 additions and 17 deletions

View File

@ -28,7 +28,7 @@ language: python
python:
- "2.7"
dist: trusty
dist: bionic
sudo: required
cache:
@ -45,13 +45,6 @@ cache:
before_install:
- sudo apt-get update -qq
# - sudo apt-get install -t trusty-backports cppcheck
- sudo apt-get build-dep -qq cppcheck
# - wget https://github.com/danmar/cppcheck/archive/1.79.zip
# - unzip 1.79.zip
# - cd cppcheck-1.79
# - git clone --depth=10 https://github.com/noisymime/cppcheck.git
# - cd cppcheck
# - sudo make install CFGDIR=/usr/share/cppcheck/ HAVE_RULES=yes
# Requirements for doxygen
- sudo apt-get install doxygen graphviz
@ -60,22 +53,16 @@ install:
script:
- cd /home/travis/build
- git clone --depth=10 https://github.com/noisymime/cppcheck.git noisymime/cppcheck_github
- cd noisymime/cppcheck_github
#- make
- cd ../speeduino
- ls
- ls noisymime/
- cd noisymime/speeduino
- platformio update
# 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 --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 --tlsv1.2 --ipv4 --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
#- speeduino/misra/check_misra_github.sh
# Do doxygen run and upload to gh-pages server.
- cd speeduino
- doxygen
- cd ..
- git clone https://github.com/speeduino/speeduino-doxygen