Skip to content

Commit

Permalink
Update travis-ci configuration for Lumen
Browse files Browse the repository at this point in the history
Signed-off-by: Cy Rossignol <[email protected]>
  • Loading branch information
cyrossignol committed Sep 3, 2017
1 parent 1080d0d commit 2e5e26d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ php:
env:
- LARAVEL_VERSION=">=5.4.0 <5.4.20"
- LARAVEL_VERSION="^5.4"
- LUMEN_VERSION="^5.4"

before_script:
- if [ -n "$LARAVEL_VERSION" ]; then composer remove --dev --no-update "laravel/lumen-framework"; fi
- if [ -n "$LARAVEL_VERSION" ]; then composer require --no-update "laravel/framework:$LARAVEL_VERSION"; fi
- if [ -n "$LUMEN_VERSION" ]; then composer remove --dev --no-update "laravel/framework"; fi
- if [ -n "$LUMEN_VERSION" ]; then composer require --no-update "laravel/lumen-framework:$LUMEN_VERSION"; fi
- composer install --prefer-source --no-interaction

script:
Expand Down

0 comments on commit 2e5e26d

Please sign in to comment.