Skip to content

Commit 03124f8

Browse files
authored
Composer & Travis updates (#155)
* Add lumen unit test dependency * Add PHP 7.3 to travis * Travis install tweak * Travis install tweak #2
1 parent 0594ccf commit 03124f8

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.travis.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ php:
66
- 7.0
77
- 7.1
88
- 7.2
9+
- 7.3
910
- hhvm
1011
- nightly
1112

@@ -17,9 +18,14 @@ matrix:
1718
- php: nightly
1819

1920
install:
20-
- if [[ ${TRAVIS_PHP_VERSION} == "5.5.9" ]];
21-
then travis_retry composer require laravel/framework;
22-
else travis_retry composer update --no-interaction --prefer-source;
21+
- if [ ${TRAVIS_PHP_VERSION} == "5.5.9" ]; then
22+
travis_retry composer require laravel/framework "5.2.*";
23+
elif [ ${TRAVIS_PHP_VERSION} == "5.6" ]; then
24+
travis_retry composer require laravel/framework "5.4.*";
25+
elif [ ${TRAVIS_PHP_VERSION} == "7.0" ]; then
26+
travis_retry composer require laravel/framework "5.5.*";
27+
else
28+
travis_retry composer update --no-interaction --prefer-source;
2329
fi
2430

2531
script: make test

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"illuminate/support": "~5.1"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "~4.0|~5.0"
20+
"phpunit/phpunit": "~4.0|~5.0",
21+
"vlucas/phpdotenv": "~2.0|~3.0"
2122
},
2223
"suggest": {
2324
"laravel/framework": "To test the Laravel bindings",

0 commit comments

Comments
 (0)