Skip to content

Commit 818fdb5

Browse files
author
Bilal Boussayoud
authored
chore: add test-docker rule (#704)
1 parent af00acf commit 818fdb5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: install analysis test docs
1+
.PHONY: install analysis test test-docker docs
22

33
install:
44
@java -version || (echo "Java is not installed, please install Java >= 7"; exit 1);
@@ -11,6 +11,10 @@ analysis:
1111
test:
1212
mvn test
1313

14+
test-docker:
15+
docker build -t twilio/twilio-java .
16+
docker run twilio/twilio-java mvn test
17+
1418
docs:
1519
rm -rf docs
1620
mvn javadoc:javadoc

0 commit comments

Comments
 (0)