-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from LaraChimp/release/v1.0.0
Release v1.0.0
- Loading branch information
Showing
8 changed files
with
52 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
/vendor | ||
/.env | ||
composer.phar | ||
composer.lock | ||
.DS_Store | ||
Thumbs.db | ||
/phpunit.xml | ||
/.idea | ||
/.vscode | ||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,29 @@ | ||
dist: xenial | ||
language: php | ||
|
||
php: | ||
- 7.1 | ||
- 7.2 | ||
env: | ||
global: | ||
- SETUP=stable | ||
|
||
sudo: false | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.2 | ||
- php: 7.2 | ||
env: SETUP=lowest | ||
- php: 7.3 | ||
- php: 7.3 | ||
env: SETUP=lowest | ||
- php: 7.4snapshot | ||
- php: 7.4snapshot | ||
env: SETUP=lowest | ||
|
||
install: travis_retry composer install --no-interaction --prefer-source | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
install: | ||
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi | ||
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi | ||
|
||
script: vendor/bin/phpunit --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,11 +151,12 @@ public function testUpdateMethod() | |
/** | ||
* Test the delete method. | ||
* | ||
* @expectedException \Illuminate\Database\Eloquent\ModelNotFoundException | ||
* @return void | ||
*/ | ||
public function testDeleteMethod() | ||
{ | ||
$this->expectException(\Illuminate\Database\Eloquent\ModelNotFoundException::class); | ||
|
||
$user1 = factory(User::class)->create([ | ||
'name' => 'User 1', | ||
'email' => '[email protected]', | ||
|
@@ -201,11 +202,12 @@ public function testFindMethod() | |
/** | ||
* Test the findOrFail method. | ||
* | ||
* @expectedException \Illuminate\Database\Eloquent\ModelNotFoundException | ||
* @return void | ||
*/ | ||
public function testFindOrFailMethod() | ||
{ | ||
$this->expectException(\Illuminate\Database\Eloquent\ModelNotFoundException::class); | ||
|
||
$user1 = factory(User::class)->create([ | ||
'name' => 'User 1', | ||
'email' => '[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters