Skip to content

Commit

Permalink
Fix URL build and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmaxik committed Dec 3, 2020
1 parent 7f6d1d7 commit b052d65
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
composer.phar
.DS_Store
ocular.phar
uploadTests.sh
uploadTests.sh
/.idea
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
language: php

php:
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0

notifications:
slack: nukacode:HyFrc2QLi5PC5fPxadm07O5v
webhooks:
urls:
- https://webhooks.gitter.im/e/213257627c4e40ffc03c
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
#notifications:
# slack: nukacode:HyFrc2QLi5PC5fPxadm07O5v
# webhooks:
# urls:
# - https://webhooks.gitter.im/e/213257627c4e40ffc03c
# on_success: change # options: [always|never|change] default: always
# on_failure: always # options: [always|never|change] default: always
# on_start: false # default: false

matrix:
fast_finish: true
Expand All @@ -23,4 +25,4 @@ before_script:
script:
- phpunit --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "truckersmp/steam-api",
"description": "A steam-api client for Laravel 5. - TruckersMP",
"version": "2.0.16",
"version": "2.0.16.2",
"license": "MIT",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/Syntax/SteamApi/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private function buildUrl($version = false)

// If we have a version, add it
if ($version) {
return $url . '/' . $this->version . '/';
return $url . $this->version . '/';
}

return $url;
Expand Down

0 comments on commit b052d65

Please sign in to comment.