Using the official docker image is really simple, the only thing you need to do is use it as the base image for that job.
--- version: 2.1 jobs: test: docker: - image: getapid/apid:latest steps: - run: apid check -c path/to/apid.yaml
Integrating the CLI is just as simple as using the docker image. Download the latest version of the CLI, make it executable and run it.
--- version: 2.1 jobs: test: docker: - image: your/image:latest steps: - run: | wget https://github.com/getapid/apid-cli/releases/download/v<version>/apid-<version>-linux-amd64.tar.gz tar -xzf apid-*.tzr.gz chmod u+x apid apid check -c path/to/apid.yaml
You can head over to our FAQ page