Skip to content

Commit

Permalink
Merge pull request #6 from alexkart/alexkart-patch-1
Browse files Browse the repository at this point in the history
Update .travis.yml
  • Loading branch information
alexkart authored Oct 26, 2020
2 parents 7dde8d1 + f368cf3 commit ba66b39
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0snapshot

env:
global:
- DEFAULT_COMPOSER_FLAGS="--prefer-dist --no-interaction --no-progress --optimize-autoloader"
- DEFAULT_COMPOSER_FLAGS="--prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs"

install:
# install composer dependencies
Expand All @@ -18,5 +20,8 @@ install:

script:
- vendor/bin/phpunit --verbose
- composer phan
- cat analysis.txt
- |
if [[ $TRAVIS_PHP_VERSION != 8.0snapshot ]]; then
composer phan
cat analysis.txt
fi
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.1|^8.0",
"php": ">=7.1",
"psr/http-message": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^7.2",
"nyholm/psr7": "^1.3",
"phan/phan": "^2.2"
"phan/phan": "^3.2"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit ba66b39

Please sign in to comment.