Skip to content

Commit

Permalink
for public packagist
Browse files Browse the repository at this point in the history
  • Loading branch information
yuichiis committed Apr 3, 2020
1 parent 8362c9c commit 6852629
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 21 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ php:
- '5.6'
- '7.1'
- '7.2'
- '7.3'
- '7.4'

matrix:
include:
Expand All @@ -22,5 +24,5 @@ before_install:
install:
- export TRAVIS_PHP_VERSION; sh tests/travis/install-script.sh

script:
- sh tests/travis/run-test.sh
script:
- TRAVIS_SKIP_TEST=1; export TRAVIS_SKIP_TEST; sh tests/travis/run-test.sh
21 changes: 4 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"license": "BSD-3-Clause",
"require": {
"php": ">=5.3.3",
"rindow/rindow-stdlib": "*"
"rindow/rindow-stdlib": "1.*"
},
"require-dev": {
"rindow/rindow-stdlib": "*",
"rindow/rindow-container": "*"
"rindow/rindow-stdlib": "1.*",
"rindow/rindow-container": "1.*"
},
"suggest": {
"rindow/rindow-container": "It needs some service container"
Expand All @@ -19,18 +19,5 @@
"psr-0": {
"Rindow\\Web\\Session\\": "src/"
}
},

"repositories": [
{
"type": "composer",
"url": "https://rindow.github.io/rindow-packagist/packages.json",
"options": {
"ssl": {
"verify_peer": "true"
}
}
}
],
"minimum-stability": "dev"
}
}
5 changes: 3 additions & 2 deletions tests/travis/install-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
composer install

case "$TRAVIS_PHP_VERSION" in
7.* ) composer require --dev "phpunit/phpunit 6.*" ;;
esac
5\.6) composer require --dev "phpunit/phpunit 5.*" ;;
7\.*) composer require --dev "phpunit/phpunit 6.*" ;;
esac
3 changes: 3 additions & 0 deletions tests/travis/php7.3.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extension = apcu.so
extension = mongodb.so
apc.enable_cli = 1
3 changes: 3 additions & 0 deletions tests/travis/php7.4.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extension = apcu.so
extension = mongodb.so
apc.enable_cli = 1

0 comments on commit 6852629

Please sign in to comment.