Skip to content

Commit 73bb7d7

Browse files
committed
Update Travis to use Postgres 14
1 parent 76a08fb commit 73bb7d7

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

.travis.dist.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ language: php
33
dist: focal
44

55
addons:
6-
postgresql: "13"
6+
postgresql: "14"
77
apt:
88
packages:
9-
- postgresql-13
10-
- postgresql-client-13
9+
- postgresql-14
10+
- postgresql-client-14
1111
- libonig5
1212

1313
services:
@@ -21,13 +21,13 @@ cache:
2121

2222
php:
2323
- 7.4
24-
- 8.0
2524
- 8.1
25+
- 8.3
2626

2727
env:
2828
global:
29-
- PGVER=13
30-
- MOODLE_BRANCH=MOODLE_402_STABLE
29+
- PGVER=14
30+
- MOODLE_BRANCH=MOODLE_405_STABLE
3131
# Uncomment this to run Behat tests using the Moodle App.
3232
# - MOODLE_APP=true
3333
matrix:

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ language: php
33
dist: focal
44

55
addons:
6-
postgresql: "13"
6+
postgresql: "14"
77
apt:
88
packages:
9-
- postgresql-13
10-
- postgresql-client-13
9+
- postgresql-14
10+
- postgresql-client-14
1111
- libonig5
1212

1313
services:
@@ -21,7 +21,7 @@ cache:
2121

2222
env:
2323
global:
24-
- PGVER=13
24+
- PGVER=14
2525
- IGNORE_PATHS=ignore
2626
- IGNORE_NAMES=ignore_name.php
2727
- MUSTACHE_IGNORE_NAMES=broken.mustache

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
1212
### Added
1313
- Allow to run with PHP 8.4 (supported in Moodle 5.0)
1414
- New `--scss-deprecations` option added to the `behat` command
15+
- Updated travis.yml and the recommendations to run travis with Postgres 14
1516

1617
## [4.5.6] - 2025-01-31
1718
### Fixed

docs/TravisFileExplained.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ dist: focal
1616

1717
# Installs the updated version of PostgreSQL and extra APT packages.
1818
addons:
19-
postgresql: "13"
19+
postgresql: "14"
2020
apt:
2121
packages:
22-
- postgresql-13
23-
- postgresql-client-13
22+
- postgresql-14
23+
- postgresql-client-14
2424
- libonig5
2525

2626
# Ensure DB and docker services are running.
@@ -40,7 +40,7 @@ cache:
4040
php:
4141
- 7.4
4242
- 8.0
43-
- 8.1
43+
- 8.3
4444

4545
# This section sets up the environment variables for the build.
4646
env:
@@ -49,9 +49,9 @@ env:
4949
# used, because, for PG 11 and up, both the user and the port were
5050
# changed by Travis. With that variable, the tool will switch to
5151
# socketed connections instead of localhost ones.
52-
- PGVER=13
52+
- PGVER=14
5353
# This line determines which version branch of Moodle to test against.
54-
- MOODLE_BRANCH=MOODLE_402_STABLE
54+
- MOODLE_BRANCH=MOODLE_405_STABLE
5555
# Uncomment this to run Behat tests using the Moodle App.
5656
# - MOODLE_APP=true
5757

@@ -78,9 +78,9 @@ env:
7878
#
7979
# jobs:
8080
# include:
81-
# - php: 8.0
82-
# env: MOODLE_BRANCH=MOODLE_401_STABLE DB=pgsql
83-
# - php: 8.0
81+
# - php: 8.3
82+
# env: MOODLE_BRANCH=MOODLE_405_STABLE DB=pgsql
83+
# - php: 8.1
8484
# env: MOODLE_BRANCH=MOODLE_400_STABLE DB=pgsql
8585
# - php: 7.4
8686
# env: MOODLE_BRANCH=MOODLE_311_STABLE DB=mysqli

0 commit comments

Comments
 (0)