Skip to content

Commit 2eb90ec

Browse files
committed
ci: Add tests to pull as step
1 parent d686856 commit 2eb90ec

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ services:
44
- docker
55

66
script: make node package enable integration
7-
87
before_deploy:
98
- echo "$DOCKER_PASSWORD" | docker login "$DOCKER_REGISTRY" -u "$DOCKER_USERNAME" --password-stdin;
109

1110
deploy:
1211
provider: script
1312
script: make push
1413
on:
15-
branch: master
14+
branch: master
15+
16+
jobs:
17+
include:
18+
- stage: verify installation
19+
install: skip
20+
script: make pull

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ enable: install
3636
@echo "### enable plugin ${PLUGIN_NAME}:${PLUGIN_TAG}"
3737
docker plugin enable ${PLUGIN_NAME}:${PLUGIN_TAG}
3838

39+
pull: clean
40+
@echo "### install plugin ${PLUGIN_NAME}:${PLUGIN_TAG}"
41+
docker plugin install ${PLUGIN_NAME}:${PLUGIN_TAG}
42+
3943
push: install
4044
@echo "### push plugin ${PLUGIN_NAME}:${PLUGIN_TAG}"
4145
docker plugin push ${PLUGIN_NAME}:${PLUGIN_TAG}

0 commit comments

Comments
 (0)