On Mon, May 18, 2015 at 12:31 PM, Nick Wellnhofer <[email protected]> wrote:
> OK, I started with a .travis.yml for Clownfish. Things that are still to do:
>
> - Run the compiler test suite.
> - Test the C bindings.
Nice!
Configuring for multiple languages is a pain with Travis, unfortunately.
We might get by using multiple environment variables and a custom test script
which recognizes them.
language: c
env:
- CLOWNFISH_HOST=perl
- CLOWNFISH_HOST=c
- CLOWNFISH_HOST=go
- CLOWNFISH_HOST=python
- CLOWNFISH_HOST=ruby
script: ./devel/bin/travis-build.sh
That works against testing multiple versions for supported hosts, though.
An alternative might be to write a test-all.sh script which launches
docker for each version of each host language:
https://registry.hub.docker.com/_/python/
https://registry.hub.docker.com/_/golang/
https://registry.hub.docker.com/_/perl/
https://registry.hub.docker.com/_/ruby/
That's not as convenient as integrating with Travis, though.
> With Travis' help, I could sort everything out:
>
> https://travis-ci.org/nwellnhof/lucy-clownfish/builds/63065914
\o/
Marvin