This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 128
Add support for Travis-CI integration #25
Merged
Merged
Changes from 5 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
98c4668
Add support for Travis-CI
florentx 7be3edd
Return error code 1 when asciidocapi.py doctest fails
florentx 064a160
apt-get install needs root privileges
florentx 853cef2
Update texlive for Travis-CI on Ubuntu 12.04 LTS
florentx 4ae4354
Add --yes to avoid hanging for a confirmation
florentx 9803317
Remove duplicate run of doctest.testmod
florentx a9af2f5
Add created .png to .gitignore
florentx c769114
Adjust git clean command to clean all test data
florentx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| language: python | ||
| python: | ||
| - 2.6 | ||
| - 2.7 | ||
| install: | ||
| # 12.04 LTS ships an outdated texlive https://launchpad.net/bugs/712521 | ||
| - sudo add-apt-repository --yes ppa:texlive-backports/ppa | ||
| - sudo apt-get update -yq2 | ||
| - sudo apt-get install -yq2 --no-install-recommends dvipng graphviz imagemagick lilypond source-highlight texlive-latex-base | ||
| script: | ||
| - time python tests/testasciidoc.py update | ||
| - python asciidoc.py --doctest | ||
| - python asciidocapi.py | ||
| - time python tests/testasciidoc.py run | ||
| - git clean -f tests/data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You are calling doctest.testmod() twice here. Is this intended? If so, why?
Michel