.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
- Composer 1.10
- NodeJS 12.18
- NPM 6.14
- Git 2.25