Skip to content

Use travis #7

@ning-y

Description

@ning-y

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions