File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 4
4
docker :
5
5
- image : docker:17.12.0-ce-git
6
6
working_directory : /app
7
+ environment :
8
+ - COMPOSE_FILE : docker-compose.yml:docker-compose.ci.yml
7
9
steps :
8
10
- checkout
9
11
- setup_remote_docker
14
16
apk add --no-cache --no-progress bash py-pip
15
17
pip install --quiet docker-compose
16
18
- run :
17
- name : Logging Docker and Application information
18
- command : |
19
- set -x
20
- docker -v
21
- docker-compose -v
22
- ls -l
19
+ name : Preparing the environment
20
+ command : ./scripts/setup-env.sh
23
21
- run :
24
- name : Testing the Docker installation
25
- command : docker container run hello-world
22
+ name : Running the test suite
23
+ command : ./scripts/ run-specs.sh
Original file line number Diff line number Diff line change
1
+ version : ' 3.3'
2
+
3
+ services :
4
+ app :
5
+ build :
6
+ context : .
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ docker-compose run app bundle exec rspec
You can’t perform that action at this time.
0 commit comments