.build-script in the root of your project's git repository.
At a minimum the build script should install the composer dependencies:
Build script language
The build script can be written in languages other than shell script by adding a shebang line at the top of the file.
For example to write the build script in PHP you would do the following:
#!/usr/bin/env php <?php echo 'Starting build...';
And for NodeJS it would be:
#!/usr/bin/env node console.log( 'Starting build...' )
Build Script Environment Specification
The build script is run in an integration environment, not in the context of the application servers. The following packages are available to your script:
- PHP 7.2
- NodeJS 8.11
- NPM 5.6
- Git 2.7