Skip to content

Commit 31fbca8

Browse files
committed
Updated Travis CI.
1 parent 2308ea9 commit 31fbca8

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.travis.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,25 @@ 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+
# Fixes a issue with Travis CI and SpamAssassin. See here: https://github.com/travis-ci/travis-ci/issues/8906#issuecomment-351884500
18+
- sudo rm -f /opt/jdk_switcher/jdk_switcher.sh
19+
- name: "Install on Ubuntu 18.04"
20+
dist: bionic
21+
git:
22+
depth: false
1123

1224
before_script:
1325
# Adds a hostname to the hosts file.
1426
- sudo sed -i "s/^127.0.1.1.*/127.0.1.1\t$HOSTNAME.example.com\t$HOSTNAME/" /etc/hosts
1527
# Updates the apt package database and upgrades all currently installed packages.
1628
- 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
29+
- sudo apt-get -yqq --allow-unauthenticated dist-upgrade
2030

2131
script:
2232
# Runs the script.

0 commit comments

Comments
 (0)