Skip to content

Commit

Permalink
add docker configuration to run tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
agallou committed Aug 7, 2017
1 parent a26e743 commit df110cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
@@ -0,0 +1 @@
*
4 changes: 4 additions & 0 deletions Dockerfile
@@ -0,0 +1,4 @@
FROM java:8-jdk

RUN apt-get update && apt-get install -y ant
RUN apt-get update && apt-get install -y make
6 changes: 6 additions & 0 deletions Makefile
@@ -0,0 +1,6 @@
.PHONY: test

test:
docker build -t atoum-phpstorm-plugin .
docker run -ti -v $(PWD):/sources -w /sources atoum-phpstorm-plugin ./travis.sh

0 comments on commit df110cd

Please sign in to comment.