diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-08-10 21:02:30 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-08-10 21:02:30 -0600 |
| commit | 95ca228619b7d31d43d3303e56296865e294ba82 (patch) | |
| tree | 59e964cefb5750ea21a55268591c5f54fb5c66fd | |
| parent | f7112f3044dbd6a98d6b8f0b7625892a52e396b2 (diff) | |
enable feature tests in Travis CI
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | Rakefile | 5 | ||||
| -rw-r--r-- | asciidoctor.gemspec | 4 |
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" @@ -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'] |
