Skip to content

Commit ef8dd45

Browse files
committed
TravisCI
1 parent cb93cd3 commit ef8dd45

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.env.travis

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
APP_ENV=testing
2+
APP_KEY=SomeRandomStringSomeRandomString
3+
4+
DB_CONNECTION=sqlite
5+
DB_TEST_USERNAME=root
6+
DB_TEST_PASSWORD=
7+
8+
CACHE_DRIVER=array
9+
SESSION_DRIVER=array
10+
QUEUE_DRIVER=sync

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: php
2+
3+
php:
4+
- 5.6
5+
6+
before_script:
7+
- cp .env.travis .env
8+
- mysql -e 'create database homestead_test;'
9+
- composer self-update
10+
- composer install --no-interaction
11+
12+
script:
13+
- vendor/bin/phpunit

0 commit comments

Comments
 (0)