Skip to content

Commit

Permalink
Merge pull request #67 from boxfrommars/travis-memory-limit-fix
Browse files Browse the repository at this point in the history
Fix dependency issue
  • Loading branch information
boxfrommars authored Nov 27, 2018
2 parents a8b7de5 + 7c19dea commit 6c44903
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ php:
- 7.1
- 7.2

before_install:
- echo "memory_limit=3000M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

before_script:
- composer self-update
- composer install --prefer-source --no-interaction
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ composer require rutorika/sortable
4 | 1.2.x (branch laravel4)
<=5.3 | 3.2.x
5.4 | 3.4.x
5.5 | 4.x.x
5.5 | 4.2.x
5.7 | 4.7.x

## Sortable Trait

Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
"illuminate/support": ">=5.7"
},
"require-dev": {
"phpunit/phpunit": "~6.3",
"orchestra/testbench": "3.5.*",
"orchestra/database": "~3.1"
"phpunit/phpunit": "~7",
"orchestra/testbench": "~3.7"
},
"autoload": {
"psr-0": {
Expand Down
5 changes: 0 additions & 5 deletions tests/SortableControllerSpecificDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,4 @@ public function invalidM2mParamsProvider()
],
];
}

protected function getPackageProviders($app)
{
return ['Orchestra\Database\ConsoleServiceProvider'];
}
}
5 changes: 0 additions & 5 deletions tests/SortableControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,4 @@ public function invalidM2mParamsProvider()
],
];
}

protected function getPackageProviders($app)
{
return ['Orchestra\Database\ConsoleServiceProvider'];
}
}
5 changes: 0 additions & 5 deletions tests/SortableTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,4 @@ protected function getEnvironmentSetUp($app)
]
);
}

protected function getPackageProviders($app)
{
return ['Orchestra\Database\ConsoleServiceProvider'];
}
}

0 comments on commit 6c44903

Please sign in to comment.