WICG / resize-observer

This repository is no longer active. ResizeObserver has moved out of WICG into
https://github.com/w3c/csswg-drafts/tree/master/resize-observer-1
Other
255 stars 18 forks source link

Set up PR Preview and Travis deploy to gh-pages #60

Closed foolip closed 6 years ago

foolip commented 6 years ago

PR Preview documentation: https://github.com/tobie/pr-preview#configuration-file

Travis setup based on setup in https://github.com/w3c/speech-api.

foolip commented 6 years ago

@atotic I set this up after noticing that https://github.com/WICG/ResizeObserver/pull/56 still isn't reflected in https://wicg.github.io/ResizeObserver/. There's also a bit of Travis-side setup you need to do, I can guide you on chat if you haven't done it before.

foolip commented 6 years ago

@lukebjerring FYI, if you still see the semicolon missing in reffy-reports, this is what would fix it.

foolip commented 6 years ago

What will happen is that on every push to master, a VM (on Travis) will be booted up and run the steps in .travis.yml, bikeshed spec being the most interesting step. The result (index.html) will be committed and pushed to the gh-pages branch, facilitated by https://docs.travis-ci.com/user/deployment/pages/.

foolip commented 6 years ago

Alright, I've configured https://travis-ci.org/WICG/ResizeObserver in a way that I think will work. I'll merge this PR and watch the build and send follow-ups if it still doesn't work.

foolip commented 6 years ago

https://travis-ci.org/WICG/ResizeObserver/builds/413276563 ran successfully and pushed the result to https://github.com/WICG/ResizeObserver/commit/63967a70477295c43d65384a68b7f35c16ee0a2b. The result is visible at https://wicg.github.io/ResizeObserver/#resize-observer-callback and includes the semicolon I added in https://github.com/WICG/ResizeObserver/pull/56.

Victory!