-
Notifications
You must be signed in to change notification settings - Fork 89
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 SassC to the CI build setup #905
Conversation
1ab9159
to
b6738e4
Compare
I'm not what this is trying to achieve @nschonni, can you please elaborate on your thinking? |
This addresses #852, but I didn't really see it till afterwards 😊 |
|
||
export DIR=`pwd` | ||
|
||
if [ "x$RUBY_SASS" = "xyes" ]; then |
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.
This ancient trick is necessary when doing
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.
Sounds good, I was just following the existing code convention
d756a5c
to
5d9095f
Compare
Closing while I work out the matrix |
My Travis is working again. Reopening and then I'll rebase this down |
9f73bb9
to
50d8b86
Compare
Sorry for the extra push noise. When I squashed the commits, I rebased with upstream to grab the latest tests, and that caused some new failures. |
@nschonni no worries! go ahead with whatever you need to do! |
Should be good to review/merge now |
@xzyfer any feedback on this one? |
|
||
script: | ||
- bundle exec sass-spec.rb -V "$LANGUAGE_VERSION" --probe-todo | ||
- bundle exec sass-spec.rb -V "$LANGUAGE_VERSION" --probe-todo -c "../sassc/bin/sassc" --impl 'libsass' || if [ "$LANGUAGE_VERSION" != "3.4" ]; then exit 0; fi |
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.
|| if [ "$LANGUAGE_VERSION" != "3.4" ]
This is tricky. LibSass will be landing multiple 3.5 features very soon.
For the time being LibSass should run with 3.5 but be allowed to fail. Not sure how to achieve this.
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.
That's what this is doing right now with this. It allows the tests to fail if it isn't running 3.4. When 3.5 becomes "stable", then I'd change this to [ "$LANGUAGE_VERSION" = "4.0" ]
so it would only tollerate failures there.
|
||
script: | ||
- bundle exec sass-spec.rb -V "$LANGUAGE_VERSION" --probe-todo | ||
- bundle exec sass-spec.rb -V "$LANGUAGE_VERSION" --probe-todo -c "../sassc/bin/sassc" --impl 'libsass' || if [ "$LANGUAGE_VERSION" != "3.4" ]; then exit 0; fi |
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.
Please remove --probe-todo
see #932
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.
OK, done. I guess we should look at that flag if it's not doing what it's supposed to
50d8b86
to
9f7eda5
Compare
|
||
before_install: | ||
- rm Gemfile.lock | ||
- git clone https://github.com/sass/libsass.git $TRAVIS_BUILD_DIR/../libsass |
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.
This should fetch the latest tag, not master. Master is unstable.
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.
OK, I guess you're thinking about pinning to 3.3.6 then? Anything a release happens, then this travis.yml gets updated? I guess later it can do what Ruby Sass does and try Stable + git.
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.
For now it should be pinned to 3.4.0rc tag since that's what we expect with the 3.4 version annotation.
before_install: | ||
- rm Gemfile.lock | ||
- git clone https://github.com/sass/libsass.git $TRAVIS_BUILD_DIR/../libsass | ||
- git clone https://github.com/sass/sassc.git $TRAVIS_BUILD_DIR/../sassc |
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.
ditto
Maintainer edits are on if anyone else wants to change it now. I'll see if I can do it tonight, but I'm not sure when I'll be back home. |
0413161
to
47eb26e
Compare
169c841
to
f68b9f4
Compare
Jumping into bed now. Feel free to ship if CI is green when you're online. |
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.
Think this approach is good. The original might be a little easier to add dart-sass as another grid though
@@ -1,17 +0,0 @@ | |||
#!/bin/bash |
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.
I think this was a local dev tools, that's why I left it before
|
||
before_install: | ||
- rm Gemfile.lock | ||
- if [ $IMPL == "libsass" ]; then |
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.
I think this makes more sense
CI failures look like legitimate failures. You'll need to land this if you want since I can't merge in this repo. |
e7fa3ea
to
8ad74da
Compare
Continuing from #904 since apparently you can't reopen a PR after rebasing and pushing 😦