Update Travis to Ubuntu "Bionic" (#14664)

This commit is contained in:
Chris Pepper 2019-07-18 01:12:40 +01:00 committed by Scott Lahteine
parent 839255eed4
commit 9e19f004d0

View File

@ -1,5 +1,5 @@
dist: xenial dist: bionic
sudo: require sudo: false
language: python language: python
python: python:
@ -8,13 +8,6 @@ python:
notifications: notifications:
email: false email: false
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
pip: true
directories:
- "~/.platformio"
env: env:
- TEST_PLATFORM="megaatmega2560" - TEST_PLATFORM="megaatmega2560"
- TEST_PLATFORM="DUE" - TEST_PLATFORM="DUE"
@ -26,15 +19,7 @@ env:
- TEST_PLATFORM="esp32" - TEST_PLATFORM="esp32"
- TEST_PLATFORM="alfawise_U20" - TEST_PLATFORM="alfawise_U20"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
before_install: before_install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
# #
# Fetch the tag information for the current branch # Fetch the tag information for the current branch
- git fetch origin --tags - git fetch origin --tags