Last active
July 7, 2017 10:13
-
-
Save jjcodes78/a05e65563d07c0f56b2c0f46957faee7 to your computer and use it in GitHub Desktop.
Laravel continuous integration config file with Laravel Dusk (browser tests) for Circle CI
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
machine: | |
php: | |
version: 7.1.3 | |
node: | |
version: 8.1.0 | |
dependencies: | |
override: | |
- npm install | |
- composer install --no-interaction | |
test: | |
pre: | |
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
- sudo dpkg -i google-chrome-stable_current_amd64.deb | |
- "./vendor/laravel/dusk/bin/chromedriver-linux": | |
background: true | |
- cp .env._testing .env | |
- php artisan key:generate | |
- touch ./database/database.sqlite | |
- php artisan migrate | |
- "php artisan serve": | |
background: true | |
override: | |
- php ./vendor/phpunit/phpunit/phpunit | |
- php artisan dusk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment