Skip to content

Instantly share code, notes, and snippets.

@cftang0827
Created January 8, 2020 05:29
Show Gist options
  • Save cftang0827/411212b5d3b1daea42fd824270ab0902 to your computer and use it in GitHub Desktop.
Save cftang0827/411212b5d3b1daea42fd824270ab0902 to your computer and use it in GitHub Desktop.
example circleci config
version: 2
jobs:
build:
working_directory: /test_app
parallelism: 1
docker:
- image: docker/compose:1.25.0-rc2-debian
steps:
- run:
name: Configure environment
command: |
apt-get update
apt-get install git -y
- setup_remote_docker
- checkout
- run:
name: Docker test
command: |
# sleep 15
# docker exec api make test
docker-compose run api make test
- run:
name: Clean up docker-compose table
command: |
docker-compose down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment