Created
July 13, 2018 13:50
-
-
Save dmitry-udod/87ec18aa8459b56162139da74e5f8489 to your computer and use it in GitHub Desktop.
TravisCI for Laravel 5.6 (PostgreSQL, PHPUnit)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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