pboyer / antlr4

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
http://antlr.org
Other
26 stars 1 forks source link

Cache Go test environment and make it self-contained. #25

Closed jwkohnen closed 8 years ago

jwkohnen commented 8 years ago

Finally some meaningful travis builds! mvn test now runs with GOPATH unset, which means it runs on travis and it does not need any Go project directories ceremony, which IMHO is mandatory for merging with upstream and is important for anyone who wants so build ANTLR her-/himself and who don't actually want to develop on the Go target.

The runtime-testsuite caches the go antlr runtime, so it will get build only 14 times, instead of 314 times. This saves almost half of the time on one of my slower machines and on travis.

jwkohnen commented 8 years ago
Tests run: 314, Failures: 23, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ANTLR 4 ............................................ SUCCESS [  1.354 s]
[INFO] ANTLR 4 Runtime .................................... SUCCESS [  9.019 s]
[INFO] ANTLR 4 Tool ....................................... SUCCESS [  4.401 s]
[INFO] ANTLR 4 Maven plugin ............................... SUCCESS [  4.283 s]
[INFO] ANTLR 4 Runtime Test Generator ..................... FAILURE [08:48 min]
[INFO] ANTLR 4 Tool Tests ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:07 min   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< :)
[INFO] Finished at: 2016-06-05T20:07:23+00:00
[INFO] Final Memory: 36M/222M
jwkohnen commented 8 years ago

Uhm, well, seems I have broken the removal of temporary files. I'll take care of that tomorrow.

pboyer commented 8 years ago

Hooray for CI results! Thanks @wjkohnen!

willfaught commented 8 years ago

This is awesome, @wjkohnen! Great work.