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:
13
.travis.yml
13
.travis.yml
@ -1,6 +1,6 @@
|
|||||||
language: bash
|
language: bash
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: bionic
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 1
|
depth: 1
|
||||||
@ -80,17 +80,13 @@ jobs:
|
|||||||
stage: build
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
|
script: $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
|
||||||
install:
|
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
|
- sudo apt-get install valgrind lcov
|
||||||
env: CC=gcc-7 CXX=g++-7
|
|
||||||
|
|
||||||
- name: "Docs"
|
- name: "Docs"
|
||||||
stage: build
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/ci/build_docs.sh
|
script: $TRAVIS_BUILD_DIR/tests/ci/build_docs.sh
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install python3-pip
|
- sudo apt-get install python3-pip python3-setuptools
|
||||||
- pip3 install --user -r doc/requirements.txt;
|
- pip3 install --user -r doc/requirements.txt;
|
||||||
|
|
||||||
- name: "Style check"
|
- name: "Style check"
|
||||||
@ -101,11 +97,6 @@ jobs:
|
|||||||
- name: "Mock trivial test"
|
- name: "Mock trivial test"
|
||||||
stage: build
|
stage: build
|
||||||
script: $TRAVIS_BUILD_DIR/tests/buildm.sh
|
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"
|
- name: "Mac OSX can build sketches"
|
||||||
os: osx
|
os: osx
|
||||||
|
@ -9,6 +9,7 @@ ${org}/../restyle.sh
|
|||||||
|
|
||||||
# Revert changes which astyle might have done to the submodules,
|
# 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
|
# 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
|
git diff --exit-code -- $TRAVIS_BUILD_DIR/libraries
|
||||||
|
Reference in New Issue
Block a user