Place ASCIIDOC test behind ENV var
This commit is contained in:
bootstraponline
2012-11-16 19:06:27 -07:00
parent 2d886fd38a
commit 8b3d944fd2
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ notifications:
disabled: true
before_install:
- sudo apt-get update
- sudo apt-get install -y --force-yes asciidoc
- sudo apt-get install -y --force-yes asciidoc
- ASCIIDOC=1; export ASCIIDOC
+2
View File
@@ -783,6 +783,7 @@ end
]
end
if ENV['ASCIIDOC']
#########################################################################
# Asciidoc
#########################################################################
@@ -794,6 +795,7 @@ end
test "internal links with asciidoc" do
compare("= Book Title\n\n[[anid]]\n== Heading", '<div class="sect1"><h2 id="wiki-anid">Heading<a class="anchor" id="Heading" href="#Heading"></a></h2><div class="sectionbody"></div></div>', 'asciidoc')
end
end
#########################################################################
#