mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 08:30:07 +01:00
The former approach of using `nightly` to grab the latest in-dev PHP version isn't working well now that the `nightly` build is an alias for 8.0 ... and 8.0 isn't resolving composer packages since most haven't tagged anything compatible with it yet. So switching to `7.4snapshot` allows testing against the next announced PHP version set to release later this year.
32 lines
680 B
YAML
32 lines
680 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.6
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
- 7.3
|
|
- 7.4snapshot
|
|
|
|
env:
|
|
global:
|
|
- setup=basic
|
|
- APP_ENV=testing
|
|
|
|
sudo: false
|
|
|
|
before_install:
|
|
- phpenv config-rm xdebug.ini || true
|
|
- travis_retry composer self-update
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|
|
|
|
install:
|
|
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist; fi
|
|
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
|
|
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
|
|
|
|
script: vendor/bin/phpunit
|