diff --git a/.travis.yaml b/.travis.yml similarity index 66% rename from .travis.yaml rename to .travis.yml index 03e59b3..1628ea3 100644 --- a/.travis.yaml +++ b/.travis.yml @@ -3,15 +3,21 @@ language: generic stages: - name: Test +branches: + only: + - /.*/ + matrix: fast_finish: true include: - stage: Test language: php - php: "7.1" + php: "7.2" install: composer install script: + - composer run-script post-root-package-install + - composer run-script appkey - composer run-script test cache: directories: diff --git a/composer.json b/composer.json index 85d01fd..dc1216f 100644 --- a/composer.json +++ b/composer.json @@ -61,6 +61,9 @@ "post-create-project-cmd": [ "@php artisan key:generate --ansi" ], + "appkey": [ + "@php artisan key:generate" + ], "test": [ "phpunit --configuration phpunit.xml" ]