Skip to content

Commit 44e284a

Browse files
committed
build: migrate from Ubuntu 14.04.5 (Trusty) to 16.04.6 (Xenial) on Travis CI.
Notable changes: - switch from Oracle JDK 1.8.0_151 to Open JDK 1.8.0_191 We had to do that because the latter JDK isn't supported anymore - MySQL has been updated from 5.6.33 to 5.7.25 - Maven has been updated from 3.5.2 to 3.6.0 - shellcheck has been updated from 0.3.3 to 0.3.7 See https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment No functional changes. Fix #1012
1 parent c083169 commit 44e284a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: trusty
1+
dist: xenial
22
language: java
33

44
env:
@@ -65,7 +65,7 @@ deploy:
6565
skip_cleanup: true
6666

6767
jdk:
68-
- oraclejdk8
68+
- openjdk8
6969

7070
services:
7171
- mysql

src/main/scripts/ci/check-build-and-verify.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ if [ "$RUN_ONLY_INTEGRATION_TESTS" = 'no' ]; then
156156
print_status "$RFLINT_STATUS" 'Run robot framework lint'
157157

158158
if [ "$SHELLCHECK_STATUS" != 'skip' ]; then
159+
# Shellcheck doesn't support recursive scanning: https://github.com/koalaman/shellcheck/issues/143
160+
# Also I don't want to invoke it many times (slower, more code for handling failures), so I prefer this way.
161+
# shellcheck disable=SC2207
159162
SHELL_FILES=( $(find src/main/scripts -type f -name '*.sh') )
160163
shellcheck \
161164
--shell bash \

0 commit comments

Comments
 (0)