We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make test
make
1 parent 6f22959 commit a72a11fCopy full SHA for a72a11f
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) mocha
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