Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
Added a TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
SamAsEnd committed Sep 22, 2019
1 parent 2078704 commit d160b0a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/vendor/

.phpunit.result.cache
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

install: travis_retry composer install --no-interaction --prefer-source

script: vendor/bin/phpunit --coverage-clover coverage.clover

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
4 changes: 0 additions & 4 deletions src/ScopeMakeCommandServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ public function register()

protected function registerCommands(): void
{
if (!$this->app->runningInConsole()) {
return;
}

$this->commands([
ScopeMakeCommand::class,
]);
Expand Down

0 comments on commit d160b0a

Please sign in to comment.