trying to not include require-dev in composer.lock, to not install it by default and run composer update phpunit/phpunit in Travis, as phpunit needs different version for PHP versions we support

This commit is contained in:
Ralf Becker 2016-07-11 22:12:31 +02:00
parent 5c33bd9bef
commit c877ac9d94
3 changed files with 8 additions and 1303 deletions

View File

@ -32,10 +32,12 @@ before_script:
- sudo apt-get update -qq
- sudo apt-get install -y myrepos
- mr --trust-all --stats up
# installing phpunit in version suitable for used PHP version
- composer.phar update phpunit/phpunit
script:
./doc/php_syntax_check.sh
./doc/test-cli.php
- ./doc/php_syntax_check.sh
- ./doc/test-cli.php
cache:
directories:

View File

@ -35,6 +35,6 @@
"npm-asset/gridster":"0.5.*"
},
"require-dev": {
"phpunit/phpunit": "5.4.*"
"phpunit/phpunit": "~4.8|~5.4"
}
}

1303
composer.lock generated

File diff suppressed because it is too large Load Diff