Skip to content

Instantly share code, notes, and snippets.

@themsaid
Created April 4, 2017 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save themsaid/81c73aa7c4fd2ab89ab430624f78e9ef to your computer and use it in GitHub Desktop.
Save themsaid/81c73aa7c4fd2ab89ab430624f78e9ef to your computer and use it in GitHub Desktop.
machine:
pre:
- sudo apt-get update; USE_PRECOMPILE=true sudo -E circleci-install php 7.1.0
php:
version: 7.1.0
dependencies:
override:
- composer install --no-interaction
test:
pre:
- "./vendor/laravel/dusk/bin/chromedriver-linux":
background: true
- cp .env.testing .env
- "php artisan serve":
background: true
override:
- php artisan dusk
post:
- cp -r tests/Browser/console $CIRCLE_ARTIFACTS/console
- cp -r tests/Browser/screenshots $CIRCLE_ARTIFACTS/screenshots
- curl http://127.0.0.1:8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment