CSSgram icon indicating copy to clipboard operation
CSSgram copied to clipboard

Add travis

Open lislis opened this issue 9 years ago • 4 comments

Hey @una!

I took the liberty to add a .travis.yml mentioned in this issue https://github.com/una/CSSgram/issues/168

The current configuration runs gulp lib-scss and gulp sass-lint on Node versions 4, 5 and 6. Let me know if you need these configurations changed.

I'd also add a Gulp task that builds the site but doesn't use browser sync/ opens a browser. wdyt?

lislis avatar Oct 06 '16 14:10 lislis

the start script is just gulp for building the site out -- whats the benefit of Travis here?

una avatar Oct 08 '16 04:10 una

Hey @una and sorry for the delayed reply! The command gulp builds the site and tries to open/ sync a browser (If I read the Gulpfile correctly). We can't exactly do that in Travis. But we can test if the scss builds (or the twig templates for that matter) to detect errors without checking the page locally. Is that something you'd be interested in having at all? I figured I just start somewhere after I saw the open ticket. But if you don't feel free to just close the PR :)

lislis avatar Oct 10 '16 09:10 lislis

Yeah definitely, I'm just trying to get some more context and learn a bit more about it 😄 I think this is definitely a good idea!

una avatar Oct 10 '16 22:10 una

Let me know if you need more information. I can also add some comments if that helps :)

lislis avatar Oct 11 '16 08:10 lislis