Skip to content

Commit 6411f68

Browse files
author
Damien Debin
committed
Better Travis CI.
1 parent 44b8258 commit 6411f68

3 files changed

Lines changed: 201 additions & 191 deletions

File tree

.idea/atom-generator.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,19 @@ matrix:
1313
- php: 7.2
1414
- php: 7.3
1515

16+
env:
17+
matrix:
18+
- COMPOSER_MODE="install"
19+
- COMPOSER_MODE="update"
20+
- COMPOSER_MODE="update --prefer-lowest"
21+
1622
before_script:
1723
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
1824
- chmod +x ./cc-test-reporter
1925
- ./cc-test-reporter before-build
2026

2127
install:
22-
- travis_retry composer install --no-progress --no-interaction --prefer-dist
28+
- travis_retry composer $COMPOSER_MODE --no-progress --no-interaction --prefer-dist
2329

2430
script:
2531
- ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run -v --stop-on-violation

0 commit comments

Comments
 (0)