cotech / website

The Cooperative Technologists WordPress website
https://www.coops.tech/
GNU General Public License v3.0
24 stars 5 forks source link

Add basic Travis CI #95

Closed decentral1se closed 6 years ago

decentral1se commented 6 years ago

A start for https://github.com/cotech/website/issues/75.

Got a build over at https://travis-ci.org/lwm/website/builds/359460688.

Someone needs to enable Travis for this repository, I think.

This will just make sure we can always start up the containers.

No idea what to use for testing the pages are up - using a curl localhost:... seems to not really work on Travis for some weird reason. It'd be nice to have something better in any case. Is there some test framework or something?

decentral1se commented 6 years ago

This would have helped validate https://github.com/cotech/website/pull/90.

decentral1se commented 6 years ago

Thanks for more permissions @chrisroo! Tried to setup the Travis and still see:

screenshot from 2018-03-29 10-42-55

Give me more special powers!

chrisroos commented 6 years ago

Hmm, I can't obviously see any more permissions that I can grant you, @lwm.

Do you still want to link this repo to Travis given that you're moving it to Gitlab? Let me know if you do and I'll spend more time working out what we need to do.

decentral1se commented 6 years ago

Well, it's a simple CI and people who submit pull requests over here will still want to get them proofed fast. So, I suppose we'll want it. I think you or someone else who created the organisation just needs to go to that URL: https://travis-ci.org/cotech/website - login with your github credentials and click the enable button.

chrisroos commented 6 years ago

Hey @lwm. I've now made you an owner of the CoTech organisation on GitHub (apologies for missing this first time round). Can you try setting up Travis again, please?

decentral1se commented 6 years ago

Nice one @chrisroos, builds are firing!

chrisroos commented 6 years ago

Good work, @lwm!