Skip to content

Commit df110cd

Browse files
committed
add docker configuration to run tests locally
1 parent a26e743 commit df110cd

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM java:8-jdk
2+
3+
RUN apt-get update && apt-get install -y ant
4+
RUN apt-get update && apt-get install -y make

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.PHONY: test
2+
3+
test:
4+
docker build -t atoum-phpstorm-plugin .
5+
docker run -ti -v $(PWD):/sources -w /sources atoum-phpstorm-plugin ./travis.sh
6+

0 commit comments

Comments
 (0)