Checkout Config
build:
environment:
variables:
DB_HOST: 'talentcloud-db'
DB_PORT: '5432'
# Languages
php:
version: "7.2"
ini:
memory_limit: "-1"
ruby: "2.3.1"
node: "v6.2.0"
# Various pre-installed services that can be configured.
docker: true
postgresql: true
selenium: true
dependencies:
override:
- true
before:
- npm install
- sudo make gen-certs
- sudo make docker-start
# sudo make build-db
nodes:
analysis:
tests:
override:
- php-scrutinizer-run # --enable-security-analysis
- js-scrutinizer-run
- csslint-run ./public/css
- phpcs-run ./app
- phpcs-run ./public
# deployment:
#-
#commands:
# git config --global user.email "[email protected]"
# git config --global user.name "Grant Barnes"
# heroku git:remote -a gc-talentcloud
# heroku container:push web
# heroku container:release web
# git push heroku HEAD:master
filter:
excluded_paths:
- '*/database/*'
- '*/node_modules/*'
- '*/tests/*'
- '*/vendor/*'
checks:
javascript: true
php: true
tools:
external_code_coverage:
timeout: 777
runs: 2
Repository Config
checks:
javascript: true
php: true
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
- js-scrutinizer-run
-
command: phpcs-run
use_website_config: true
-
command: scss-lint-run
use_website_config: true
-
command: csslint-run
use_website_config: true
Global Config
build:
environment:
heroku:
api_key: '848f7563-88f5-413c-a557-710b66088d62'
email: '[email protected]'