Skip to content

Commit

Permalink
Upgrade to PHP 7.2 and Yii 2.0.15. (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrabarus authored Feb 22, 2019
1 parent 62dbc8b commit b2d2a69
Show file tree
Hide file tree
Showing 11 changed files with 211 additions and 165 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ vendor/
# composer.lock
/nbproject/
.idea
reports
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3

addons:
sonarcloud:
organization: "urbanindo"
token:
secure: "yg0wLj5oe3V3aOIyQWwPczAccmZDC+1rpkCmUFeim604Xj3GvSPcK7uSMQrhH9pPwD6svh1zCleHh04GX+kz3kKXBYWV5tIy7g8cgTmD1CFPYeVd7kdq5B7O8gKkPWfTQ8ecVSNQU134Yc6sbDYtVh2kPtZltvkmWzyVyzWimdkr3fTYOvOuiyC0+L/Ka/OpZpuPuSWSAURiMpM9V2FBsCe0rOP+NgZBcYcO3H76I662Jf2LosziruxQHNXnpyj1FNstI27KM4NNlZods17+SAhFRoF+msIi96eyAu/PI7hz+Duac6TPg5fdn7G/gZt/ciYnHjOZhF18sEX2Ot0PqDoazLmn0fG7Q6TwDJPS+A9NJn++pVJiyfEdZZX+zy/Pj6/H1+F0oS0njoEcUXQSSiBfhC1E7kkmTWZj2MEFpC+wD/Wbh9QNjrlY9woevOzmUW7/WypkphtDGz68uVzzqYmQGyZqAtYkcJkZyZoNgTzQo3R9eYZmfOcmZhhcn2F8ayasrMXOo14yOisdFwb75uWhyDUGwOro3QYeEEkI0k9j7YbceITctCjQy7z4dSSDEERxUxvf1n5o28RfArd11Jqz877c4WwtRs79MwrFeOsDOrdUr3eVkwvZTxNbHyUYNYsHQGe7xnfpyssPydQCxZ+DObKElAZrxaqj7/WjQkI="

sudo: required

Expand All @@ -17,4 +23,5 @@ script:
- ./vendor/bin/phing test

after_success:
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -s https://codecov.io/bash)
- sonar-scanner
6 changes: 5 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<exec command="./test/start_server.sh"/>
</target>
<target name="test" depends="start-server">
<exec command="./vendor/bin/phpunit" passthru="true" checkreturn="true"/>
<exec executable="./vendor/bin/phpunit" passthru="true" checkreturn="true">
<arg value="--coverage-clover"/>
<arg value="reports/clover.xml"/>
<arg value="--coverage-text"/>
</exec>
</target>
<target name="phpcs">
<exec executable="./vendor/bin/phpcs">
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
],
"minimum-stability": "dev",
"require": {
"php": ">=7.0",
"yiisoft/yii2": "^2.0.13",
"php": ">=7.2",
"yiisoft/yii2": "~2.0.15",
"aws/aws-sdk-php": "~3.28"
},
"require-dev": {
Expand Down
Loading

0 comments on commit b2d2a69

Please sign in to comment.