Skip to content

Commit

Permalink
Merge pull request #4 from byte5digital/feature/test_travis
Browse files Browse the repository at this point in the history
Feature/test travis
  • Loading branch information
Weegy authored Jul 17, 2019
2 parents 41adfaf + 5fe42a4 commit 83c21b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yaml → .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"appkey": [
"@php artisan key:generate"
],
"test": [
"phpunit --configuration phpunit.xml"
]
Expand Down

0 comments on commit 83c21b8

Please sign in to comment.