Skip to content

Commit

Permalink
Merge branch 'release/3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
narcoticfresh committed Aug 20, 2018
2 parents 218d9db + 23f7913 commit 2140dd4
Show file tree
Hide file tree
Showing 17 changed files with 990 additions and 563 deletions.
16 changes: 4 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,15 @@ language: php
services: mongodb
before_script:
- free -m
- >
if [ $(phpenv version-name) = "5.6" ]; then
echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
fi
- >
if [ $(phpenv version-name) = "7.1" ] || [ $(phpenv version-name) = "7.2" ]; then
pecl channel-update pecl.php.net
sleep 5
printf "\n" | pecl install -f --ignore-errors mongodb
echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
fi
- pecl channel-update pecl.php.net
- sleep 5
- printf "\n" | pecl install -f --ignore-errors mongodb
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer install --dev --no-interaction
- wget https://scrutinizer-ci.com/ocular.phar
php:
- 7.2
- 7.1
- 5.6
script:
- ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"homepage": "https://github.com/libgraviton/php-rql-parser/graphs/contributors"
}
],
"config": {
"platform": {"ext-mongo": "1.6.14"}
},
"autoload": {
"psr-4": { "Graviton\\Rql\\": "src/"}
},
Expand Down
Loading

0 comments on commit 2140dd4

Please sign in to comment.