Skip to content
This repository has been archived by the owner on Jan 25, 2019. It is now read-only.

Enhance Travis-CI to optionally compare Wok output #151

Merged
merged 23 commits into from
Sep 1, 2016

Conversation

matt-garman
Copy link
Contributor

matt-garman and others added 23 commits November 30, 2015 11:43
render() definitions so it can be passed through to the actual RST
docutils renderer.

This code fails on the test site, and has some debug print
statements added.  It is intended as an illustration only,
definitely not production quality.
* libsass is faster as it is written in C
* Drop Ruby dependency
* Add Sass to the test site
* Use libsass-python API to compile Sass files
* Remove .sass/.scss files from output_dir after compilation
…patterns that will be ignored when processing the tree
…skip over files matching glob patterns in the specified list
* libsass is faster as it is written in C
* Drop Ruby dependency
* Add Sass to the test site
* Use libsass-python API to compile Sass files
* Remove .sass/.scss files from output_dir after compilation
* libsass is faster as it is written in C
* Drop Ruby dependency
* Add Sass to the test site
* Use libsass-python API to compile Sass files
* Remove .sass/.scss files from output_dir after compilation
- Add file "test_site/wok_expected_output-test_site" which is the
  output of "wok -v" when run with current upstream master.
- Introduce new environment variable "CMP_OUTPUT" in .travis.yml.
- Enhance bin/site-tests such that if CMP_OUTPUT==true, it will run
  cmp on the wok_expected_output-$TEST_SITE file versus the output
  of the "wok -v" run.
- Goal of this enhancement is to support more robust testing of
  fixes for issues mythmon#144 and mythmon#145.
This was a known-bad commit just to illustrate a problem.  A bad way
to fix issue mythmon#144 (add source_path param to all render() methods in
wok/renderers.py).  Removing to clean up.

This reverts commit 7cf34e2.
Remove a line from test_site/wok_expected_output-test_site that
caused the Travis-CI job to fail on upstream during pull request.
@edunham
Copy link
Collaborator

edunham commented Jan 2, 2016

On the one hand, it's sad that we have expected errors/warnings. On the other, it'll be good to note any changes and keep the tests up to date. @mythmon, any objections to merging this?

@edunham
Copy link
Collaborator

edunham commented Sep 1, 2016

@matt-garman, thank you for the work and sorry for the delay in getting back to this.

@edunham edunham merged commit 9175820 into mythmon:master Sep 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants