Add PHP 7.4 support (#464)
* Add PHP 7.4 to build matrix * DB fix * YAML parser fix in test data * Show versions * Package updates * Track used ICAOs * 7.4 METAR parsing fix * METAR parser fix * Formatting * Add meters to response units * Call instance for unit conversion * Return value * Catch exception for unknown quantity * Comment fix * Formatting * METAR parsing fixes on PHP 7.4 * Package updates * More random airport ID * More random airport ID * Properly disable toolbar * Semver written out to version file * Use dev as default identifier
This commit is contained in:
15
.travis.yml
15
.travis.yml
@@ -6,12 +6,11 @@ language: php
|
||||
php:
|
||||
- '7.2'
|
||||
- '7.3'
|
||||
- '7.4'
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: '7.2'
|
||||
- php: '7.3'
|
||||
fast_finish: true
|
||||
env:
|
||||
- DB=mysql
|
||||
- DB=mariadb
|
||||
|
||||
cache:
|
||||
# Cache lives for 10 min
|
||||
@@ -24,7 +23,12 @@ cache:
|
||||
services:
|
||||
- mysql
|
||||
|
||||
addons:
|
||||
mariadb: '10.2'
|
||||
|
||||
install:
|
||||
- php --version
|
||||
- mysql --version
|
||||
- composer install --dev --no-interaction --verbose
|
||||
- cp .travis/env.travis.php env.php
|
||||
- cp .travis/phpunit.travis.xml phpunit.xml
|
||||
@@ -41,6 +45,7 @@ after_failure:
|
||||
- cat storage/logs/*.log
|
||||
|
||||
jobs:
|
||||
fast_finish: true
|
||||
include:
|
||||
# Just packages up a release
|
||||
- stage: package
|
||||
|
||||
Reference in New Issue
Block a user