1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-20 10:24:18 +03:00

CI: trusty (u14.04) -> bionic (u18.04) (#6627)

* no-op test

* no-op test

* bionic

* missing python package for doc building with bionic

* fix previous commit

* remove external repo for gcc7 (causing issues), it is default under bionic
fix python3-setuptools install

* tryfix git submodule recursive (git 2.21/2.22 ?)
This commit is contained in:
david gauchard
2019-10-10 17:30:59 +02:00
committed by Develo
parent 5af402e4dc
commit 8e0aac92c0
2 changed files with 4 additions and 12 deletions

View File

@ -1,6 +1,6 @@
language: bash
os: linux
dist: trusty
dist: bionic
git:
depth: 1
@ -80,17 +80,13 @@ jobs:
stage: build
script: $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install -y --allow-unauthenticated g++-7 gcc-7
- sudo apt-get install valgrind lcov
env: CC=gcc-7 CXX=g++-7
- name: "Docs"
stage: build
script: $TRAVIS_BUILD_DIR/tests/ci/build_docs.sh
install:
- sudo apt-get install python3-pip
- sudo apt-get install python3-pip python3-setuptools
- pip3 install --user -r doc/requirements.txt;
- name: "Style check"
@ -101,11 +97,6 @@ jobs:
- name: "Mock trivial test"
stage: build
script: $TRAVIS_BUILD_DIR/tests/buildm.sh
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get install -y --allow-unauthenticated g++-7 gcc-7
env: CC=gcc-7 CXX=g++-7
- name: "Mac OSX can build sketches"
os: osx

View File

@ -9,6 +9,7 @@ ${org}/../restyle.sh
# Revert changes which astyle might have done to the submodules,
# as we don't want to fail the build because of the 3rd party libraries
git submodule foreach --recursive git reset --hard
git --version || true
git submodule foreach --recursive 'git reset --hard'
git diff --exit-code -- $TRAVIS_BUILD_DIR/libraries