Skip to content

Instantly share code, notes, and snippets.

@csinghdev
Created July 14, 2020 02:49
Show Gist options
  • Save csinghdev/1c7921027e516860e5f000579728f37d to your computer and use it in GitHub Desktop.
Save csinghdev/1c7921027e516860e5f000579728f37d to your computer and use it in GitHub Desktop.
Travis-CI configuration file for testing Laravel Application containing REST APIs
language: php
php:
- 7.3
- 7.4
os: linux
before_script:
- composer install
- cp .env.example .env
- php artisan key:generate
- php artisan jwt:secret
script:
- vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment