Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile to run test (just an example, don't merge) #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yanhick
Copy link
Contributor

@yanhick yanhick commented Apr 17, 2015

@EBatTiVo,
if you want to try it, here is the short version:
Assuming that you have docker installed, run the following commands:

docker build -t intellij-haxe-test .

This will use the Dockerfile to build an image containing all the build tools and IDEA SDKs. You only need to do it once.
Now, everytime you want to run the tests do:

docker run -v ${PWD}:/intellij-haxe -t intellij-haxe-test

This will mount your code folder in /intellij-haxe in the container and run make test (the default command, specified in the Dockerfile).
By default it will test IDEA 13.1.6, if you want to test another version you can pass env variables when running the container. For example for 14.0.1, you'll do:

docker run -e "IDEA_VERSION=14.0.1" -v ${PWD}:/intellij-haxe -t intellij-haxe-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants