(Superseded) Set up plugin continuous integration tests on Travis CI

We’ve been using this(nearly) CI setup for a few of our plugins it works well for the said events.

But this fails when we add a cron event. The reason being, github.event is not populated on cron events.

So we now generate an environment variable REPOSITORY_NAME using github.repository which is always populated as suggested here with some modifications.

Here’s an example

which can be accessed like this.

2 likes