diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..afce884 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: php + +php: + - 7.2 + +before_script: + - composer install + +script: phpunit diff --git a/readme.md b/readme.md index 8387903..5318e10 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,7 @@ # Laravel Submodels [![Latest Version on Packagist][ico-version]][link-packagist] +[![Travis][ico-travis]][link-travis] [![Total Downloads][ico-downloads]][link-downloads] Create submodels in Laravel @@ -105,7 +106,7 @@ license. Please see the [license file](license) for more information. [ico-version]: https://img.shields.io/packagist/v/biscofil/laravel-submodels.svg?style=flat-square [ico-downloads]: https://img.shields.io/packagist/dt/biscofil/laravel-submodels.svg?style=flat-square -[ico-travis]: https://img.shields.io/travis/biscofil/laravelsubmodels/master.svg?style=flat-square +[ico-travis]: https://api.travis-ci.org/biscofil/laravel-submodels.svg?style=flat-square [ico-styleci]: https://styleci.io/repos/12345678/shield [link-packagist]: https://packagist.org/packages/biscofil/laravel-submodels