Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TravisCI for Laravel 5.6 (PostgreSQL, PHPUnit)
os:
- linux
language: php
php:
- '7.1'
services:
- postgresql
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- composer self-update
- composer install --no-interaction
- cp .env.travis .env
- cp .env.travis .env.testing
- php artisan migrate --force
- npm install
- npm run test
script:
- vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.