Last active
September 23, 2018 23:05
-
-
Save zhouzhuojie/568e37d14197a0ad8e540465bb3eee0f to your computer and use it in GitHub Desktop.
CircleCI integration tests
This file contains 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
# .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