-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add travis #222
base: master
Are you sure you want to change the base?
Add travis #222
Conversation
the start script is just |
Hey @una and sorry for the delayed reply! |
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! |
Let me know if you need more information. I can also add some comments if that helps :) |
@@ -0,0 +1,15 @@ | |||
sudo: required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is sudo required here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question! The Travis docs state that to compile NodeJS v4 or later a newer C++ compiler is needed.
That compiler is currently available in images that also allow sudo rights in your build.
So while we don't need sudo
explicitly we need the build image that offers it.
Does that make sense?
Hey @una!
I took the liberty to add a .travis.yml mentioned in this issue #168
The current configuration runs
gulp lib-scss
andgulp 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?