Skip to content

Instantly share code, notes, and snippets.

@zhouzhuojie
Last active September 23, 2018 23:05
Show Gist options
  • Save zhouzhuojie/568e37d14197a0ad8e540465bb3eee0f to your computer and use it in GitHub Desktop.
Save zhouzhuojie/568e37d14197a0ad8e540465bb3eee0f to your computer and use it in GitHub Desktop.
CircleCI integration tests
# .circleci/config.yml
version: 2
jobs:
integration_test:
docker:
- image: checkr/docker-docker-compose
steps:
- checkout
- setup_remote_docker:
version: 18.06.0-ce
docker_layer_caching: true
- run:
name: Setup
command: ./integration_tests/step-1.setup.sh
- run:
name: Build images
command: ./integration_tests/step-2.build-images.sh
- run:
name: Start infra
command: ./integration_tests/step-3.start-infra.sh
- run:
name: Start services
command: ./integration_tests/step-4.start-services.sh
- run:
name: Start mocks
command: ./integration_tests/step-5.start-mocks.sh
- run:
name: Run tests
command: ./integration_tests/step-6.run-tests.sh --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment