Skip to content

Commit d313896

Browse files
authored
Merge pull request #255 from stronk7/fix_travis_libonig_problem
Add the libonig5 to the Travis packages to install
2 parents 10674c0 + 2690611 commit d313896

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

.travis.dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ addons:
88
packages:
99
- postgresql-13
1010
- postgresql-client-13
11+
- libonig5
1112

1213
services:
1314
- mysql

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ addons:
88
packages:
99
- postgresql-13
1010
- postgresql-client-13
11+
- libonig5
1112

1213
services:
1314
- mysql

docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
1111
## [Unreleased]
1212
### Changed
1313
- ACTION SUGGESTED: If you are using GitHub Actions, it's recomended to use `!cancelled()` instead of `always()` for moodle-plugin-ci tests. Adding a final step that always returns failure when the workflow is cancelled will ensure that cancelled workflows are not marked as successful. For a working example, please reference the updated `gha.dist.yml` file.
14+
- ACTION SUGGESTED: For some (unknown) reason, Travis environments with PHP 8.2 have started to fail with error:
15+
16+
```
17+
php: error while loading shared libraries: libonig.so.5
18+
```
19+
20+
To avoid that problem it's recommended to to add the `libonig5` package to the `travis.yml` file. For a working example, please reference the updated `.travis.dist.yml`file.
1421

1522
## [4.1.8] - 2023-10-20
1623
### Changed

docs/TravisFileExplained.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ addons:
2121
packages:
2222
- postgresql-13
2323
- postgresql-client-13
24+
- libonig5
2425

2526
# Ensure DB and docker services are running.
2627
services:

0 commit comments

Comments
 (0)