Skip to content

Commit

Permalink
Merge pull request #27438 from driesvints/uppercase-env-variable
Browse files Browse the repository at this point in the history
[5.7] Make ENV variable uppercase in Travis config
  • Loading branch information
taylorotwell authored Feb 8, 2019
2 parents 49a771d + a309e88 commit e2fd979
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ language: php

env:
global:
- setup=stable
- SETUP=stable

matrix:
fast_finish: true
include:
- php: 7.1
- php: 7.1
env: setup=lowest
env: SETUP=lowest
- php: 7.2
- php: 7.2
env: setup=lowest
env: SETUP=lowest
- php: 7.3
- php: 7.3
env: setup=lowest
env: SETUP=lowest

cache:
directories:
Expand All @@ -35,7 +35,7 @@ before_install:
- mysql -e 'CREATE DATABASE forge;'

install:
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi

script: vendor/bin/phpunit

0 comments on commit e2fd979

Please sign in to comment.