Skip to content
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

Use travis #7

Open
ning-y opened this issue Sep 21, 2018 · 0 comments
Open

Use travis #7

ning-y opened this issue Sep 21, 2018 · 0 comments

Comments

@ning-y
Copy link
Owner

ning-y commented Sep 21, 2018

Once #6 is implemented, travis should run make all and compare the diffs to make sure docs/*.png and pdf/*.pdf have been updated.


Looks like two compiled pdfs can't be the same, because the cdate and mdate are embedded in the file:

ning:~/temp $ diff test.pdf  test1.pdf --text
57,58c57,58
< /CreationDate (D:20180922113906+08'00')
< /ModDate (D:20180922113906+08'00')
---
> /CreationDate (D:20180922113859+08'00')
> /ModDate (D:20180922113859+08'00')
84c84
< /ID [<09E48BCF9B8804B9F2D051A74DE46D23> <09E48BCF9B8804B9F2D051A74DE46D23>]
---
> /ID [<F1EE7BE89A8172899D208856FCCB9E28> <F1EE7BE89A8172899D208856FCCB9E28>]

I can probably write a script to do this diff --text and parse its output to make sure nothing but cdate, mdate, and id has changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant