Skip to content

Commit

Permalink
Fix phpunit installation for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehaertl committed Jan 7, 2020
1 parent b92efe9 commit eacb7e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
language: php
dist: trusty
php:
- "7.4"
- "7.3"
- "7.2"
- "7.1"
- "7.0"
- "5.6"
- "5.5"
- "5.4"

install:
- sudo apt-get update
- travis_retry composer self-update && composer --version
- travis_retry composer clear-cache
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --prefer-dist --no-interaction --no-progress
- travis_retry composer require --dev phpunit/phpunit:^6.0 --prefer-dist --no-interaction --no-progress

script:
- php -doutput_buffering=On vendor/bin/phpunit

- travis_retry composer install --no-interaction --no-progress
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
}
},
"autoload-dev": {
"psr-4": {
"tests\\": "tests"
}
"psr-4": {
"tests\\": "tests"
}
}
}

0 comments on commit eacb7e2

Please sign in to comment.