PHP
Running the pre-built PHP pipeline directly
Run the following command to run the pre-built PHP pipeline without having to initialize a project:
fluentci run php_pipeline
Add PHP Pipeline to your project
Run the following command to add PHP pipeline to your project:
fluentci init -t php
This will create a .fluentci
directory in your project, feel free to customize the pipeline for your needs.
You can then run the following command to start the pipeline:
fluentci run .
Or simply:
fluentci
Environment variables
Variable | Description | Default |
---|---|---|
MARIADB_USER | The username for the MariaDB database | homestead |
MARIADB_PASSWORD | The password for the MariaDB database | secret |
MARIADB_ROOT_PASSWORD | The root password for the MariaDB database | root |
Jobs
Job | Description |
---|---|
test | Run your tests |
Programmatic usage
You can also use this pipeline programmatically:
import { test } from "https://pkg.fluentci.io/[email protected]/mod.ts";
await test();