summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2014-08-10 21:02:30 -0600
committerDan Allen <dan.j.allen@gmail.com>2014-08-10 21:02:30 -0600
commit95ca228619b7d31d43d3303e56296865e294ba82 (patch)
tree59e964cefb5750ea21a55268591c5f54fb5c66fd
parentf7112f3044dbd6a98d6b8f0b7625892a52e396b2 (diff)
enable feature tests in Travis CI
-rw-r--r--.travis.yml2
-rw-r--r--Rakefile5
-rw-r--r--asciidoctor.gemspec4
3 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 07d8efe0..536d4673 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ rvm:
- jruby-18mode
- jruby-19mode
- rbx-2
-#script: rake test test_us_ascii
+script: rake test:all
notifications:
email: false
irc: "irc.freenode.org#asciidoctor"
diff --git a/Rakefile b/Rakefile
index c7a7ede8..727ffb21 100644
--- a/Rakefile
+++ b/Rakefile
@@ -52,6 +52,11 @@ begin
rescue LoadError
end
+namespace :test do
+ desc 'Run unit and feature tests'
+ task :all => [:test,:features]
+end
+
=begin
begin
require 'rdoc/task'
diff --git a/asciidoctor.gemspec b/asciidoctor.gemspec
index fd20c127..5ed95d70 100644
--- a/asciidoctor.gemspec
+++ b/asciidoctor.gemspec
@@ -17,9 +17,9 @@ A fast, open source text processor and publishing toolchain, written in Ruby, fo
s.license = 'MIT'
begin
- s.files = `git ls-files -z -- */* {CHANGELOG,LICENSE,README,Rakefile}*`.split "\0"
+ s.files = `git ls-files -z -- */* {CHANGELOG,LICENSE,README,Rakefile}*`.split "\0"
rescue
- s.files = Dir['**/*']
+ s.files = Dir['**/*']
end
#s.executables = s.files.grep(/^bin\//) { |f| File.basename f }
s.executables = ['asciidoctor', 'asciidoctor-safe']