Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: bash
os: linux
dist: trusty
dist: bionic

git:
depth: 1
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/ci/style_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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