Skip to content

Commit 4938a18

Browse files
committed
Updated Travis CI.
1 parent 2308ea9 commit 4938a18

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@ env:
88
- PUBLIC_IPV6=auto
99
- PRIMARY_HOSTNAME=auto
1010
- SKIP_NETWORK_CHECKS=1
11+
matrix:
12+
include:
13+
- name: "Install on Ubuntu 14.04"
14+
dist: trusty
15+
install:
16+
- git checkout -q v0.30
17+
- name: "Install on Ubuntu 18.04"
18+
dist: bionic
1119

1220
before_script:
1321
# Adds a hostname to the hosts file.
1422
- sudo sed -i "s/^127.0.1.1.*/127.0.1.1\t$HOSTNAME.example.com\t$HOSTNAME/" /etc/hosts
1523
# Updates the apt package database and upgrades all currently installed packages.
1624
- sudo apt-get -yqq update
17-
- sudo apt-get -yqq dist-upgrade
18-
# Fixes a issue with Travis CI and SpamAssassin. See here: https://github.com/travis-ci/travis-ci/issues/8906#issuecomment-351884500
19-
- sudo rm -f /opt/jdk_switcher/jdk_switcher.sh
25+
- sudo apt-get -yqq --allow-unauthenticated dist-upgrade
2026

2127
script:
2228
# Runs the script.

0 commit comments

Comments
 (0)