Laravel setting up circle CI -
i want setup circle ci, here's full config file:
version: 2 jobs: build: steps: - run: sudo apt-get install -y libsqlite3-dev - run: composer install -n --ignore-platform-reqs - run: npm install - run: npm run production - run: vendor/bin/phpunit - run: name: start chrome driver command: ./vendor/laravel/dusk/bin/chromedriver-linux background: true - run: name: run laravel server command: php artisan serve background: true - run: name: run laravel dusk tests command: php artisan dusk
however error message:
build-agent version 0.0.4142-1bd195a (2017-09-11t09:57:00+0000) configuration errors: 2 errors occurred:
- error parsing config file: yaml: line 1: mapping values not allowed in context
- cannot find job named
build
run injobs:
section of configuration file. can happen if have no workflows defined, or typo in 'workflows:' config.
i use aws rds database production, possible during testing uses different database, i.e local? fake information , purge database after test? must not affect production database. issue have need fixed don't know what's wrong here
Comments
Post a Comment