TravisCI and Gradle

Hi

I'm writing a custom language plugin and I want the tests to run in TravisCI. My main issue is that my Lexer and Parser files are all generated and I don't want to check them into the repo if possible. 

This means I have to generate the lexer and parser files using the grammar-kit plugin before I can run the tests. I have a command line script that does this too but unfortunately it doesn't seem to work in travis.

If I check in all the generated files - then it's going to work. But does anyone know if there is a way to automate the generation of the lexer and parser and then the tests in Travis?

I'm using the gradle intellij plugin for building plugins and I changed the location of the intellij distro to go into ./distros in the root of my project and then my command line script uses it to generate the lexer can parser - this works fine locally - but not on travis.

you can see my travis.yml, build.gradle, gradle.properties, settings.gradle and clean_all.sh files in my repo here: https://github.com/intellij-crystal/intellij-crystal

any help greatly appreciated 

thanks

--Kingsley

1

Please sign in to leave a comment.