mirror of
https://github.com/ambieco/scribe.git
synced 2026-03-26 14:25:30 +08:00
Update CI
This commit is contained in:
@@ -17,18 +17,18 @@ matrix:
|
||||
env: COMPOSER=composer.dingo.json
|
||||
name: "With Dingo router"
|
||||
- php: 7.4.7
|
||||
- php: 8.0
|
||||
- php: 7.4
|
||||
env: SETUP=lowest
|
||||
- php: 8.0
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
|
||||
install:
|
||||
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update; fi
|
||||
- if [[ $SETUP = 'stable' ]]; then travis_retry composer install; fi
|
||||
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer require laravel/framework:^$LOWEST; composer require laravel/lumen-framework:^$LOWEST; fi
|
||||
- if [[ $SETUP = 'lint' ]]; then composer lint; fi
|
||||
- if [[ $SETUP = 'lint' ]]; then travis_retry composer install; composer lint; fi
|
||||
|
||||
script:
|
||||
- if [[ $SETUP = 'lint' ]]; then exit 0; fi; composer test-parallel-ci;
|
||||
|
||||
Reference in New Issue
Block a user