Created
January 8, 2020 05:29
-
-
Save cftang0827/411212b5d3b1daea42fd824270ab0902 to your computer and use it in GitHub Desktop.
example circleci config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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