From cf28fcb84a4d111cdad92f1a738dbfcf4af14671 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 6 Dec 2017 11:31:26 -0600 Subject: [PATCH] try running unit tests against mysql in travis --- .travis.yml | 1 + phpunit.travis.xml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 phpunit.travis.xml diff --git a/.travis.yml b/.travis.yml index 02f013f4..851191d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ before_script: script: - php artisan database:create --reset - php artisan migrate:refresh --seed + - cp phpunit.travis.xml phpunit.xml - vendor/bin/phpunit --debug --verbose after_success: diff --git a/phpunit.travis.xml b/phpunit.travis.xml new file mode 100644 index 00000000..a2d4db95 --- /dev/null +++ b/phpunit.travis.xml @@ -0,0 +1,34 @@ + + + + + ./tests + + + + + ./app + + + + + + + + +