We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
make test
make
1 parent 64f885a commit 8f6fcabCopy full SHA for 8f6fcab
Makefile
@@ -1,6 +1,9 @@
1
-.PHONY: image
+.PHONY: image test
2
3
IMAGE_NAME ?= codeclimate/codeclimate-eslint
4
5
image:
6
docker build --rm -t $(IMAGE_NAME) .
7
+
8
+test: image
9
+ docker run $(IMAGE_NAME) npm run test
circle.yml
@@ -11,7 +11,7 @@ machine:
11
12
test:
13
override:
14
- - docker build -t=$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM .
+ - IMAGE_NAME="$PRIVATE_REGISTRY/$CIRCLE_PROJECT_REPONAME:b$CIRCLE_BUILD_NUM" make test
15
16
deployment:
17
registry:
0 commit comments