Skip to content

Commit

Permalink
Add Travis CI support
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri authored and IllyaMoskvin committed Jul 18, 2017
1 parent 17bc460 commit 37df076
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .env.travis
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
APP_NAME=Laravel
APP_ENV=testing
APP_KEY=base64:nkScfqkJ+t4c4JMZOgO4hEK6gy0rOEF9f71FuL6AuzI=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=sqlite
DB_DATABASE=:memory:
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: php

php:
- 7.0

before_script:
- cp .env.travis .env
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate

script:
- vendor/bin/phpunit

0 comments on commit 37df076

Please sign in to comment.