Skip to content

Commit 4a20638

Browse files
committed
Test lowest dependencies only on the lowest version
1 parent f80b5d7 commit 4a20638

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.gitlab-ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ cache:
2020
# cache dependencies
2121
- composer config -g cache-dir "$(pwd)/.composer-cache"
2222
script:
23-
- composer config minimum-stability dev
24-
- composer config prefer-stable true
25-
# test on latest libs
2623
- composer update
2724
- vendor/bin/phpunit
28-
# test on lowest libs
25+
26+
# lowest version with lowest dependencies
27+
test-7.2-lowest:
28+
extends: .test
29+
stage: test
30+
image: php:7.2
31+
script:
2932
- composer update --prefer-lowest
3033
- vendor/bin/phpunit
3134

0 commit comments

Comments
 (0)