Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7 from DarkGhostHunter/master
Browse files Browse the repository at this point in the history
Fixes helper and macros
  • Loading branch information
DarkGhostHunter authored Aug 13, 2019
2 parents c5f94e1 + 50cbe0d commit 3ab2573
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
language: php

php:
- 7.1
- 7.2
- 7.3
- 7.1
- 7.2
- 7.3

env:
global:
- CC_TEST_REPORTER_ID=3cb0149c1ae23214062407321730aa13a558d9e10aa7011e01282b5a46e7f100
global:
- CC_TEST_REPORTER_ID=3cb0149c1ae23214062407321730aa13a558d9e10aa7011e01282b5a46e7f100

before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- travis_retry composer self-update
- travis_retry composer require php-coveralls/php-coveralls:2.1.* --dev
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

script:
- ./vendor/bin/phpunit -c ./ --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpunit

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

after_success:
- travis_retry php vendor/bin/php-coveralls --verbose
3 changes: 2 additions & 1 deletion src/CaptchavelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public function register()
return $app->make('config')->get('captchavel.secret');
});

$this->app->singleton('recaptcha', ReCaptcha::class);
$this->app->singleton(ReCaptcha::class);
$this->app->alias(ReCaptcha::class, 'recaptcha');
}

/**
Expand Down

0 comments on commit 3ab2573

Please sign in to comment.