diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000000000000000000000000000000000..46d7d524be0ff28a9983949bbc76238bbad69e67
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: ruby
+sudo: false
+cache: bundler
+before_install:
+ - git clone https://github.com/jnavila/po4a.git
+ - cd po4a && git checkout git_doc && cd ..
+script:
+ - sh ci/build.sh
+addons:
+  apt:
+    packages:
+      - libunicode-linebreak-perl
+notifications:
+  email:
+    on_success: never
+    on_failure: always
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000000000000000000000000000000000000..39dabe6d59abcdcdec41af0fb3ee344101e3d5c9
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,15 @@
+source 'https://rubygems.org'
+
+gem 'asciidoctor', '1.5.6.1'
+
+gem 'json'
+gem 'awesome_print'
+
+gem 'asciidoctor-epub3', :git => 'https://github.com/asciidoctor/asciidoctor-epub3'
+gem 'asciidoctor-pdf', '1.5.0.alpha.16'
+gem 'asciidoctor-pdf-cjk', '~> 0.1.3'
+gem 'asciidoctor-pdf-cjk-kai_gen_gothic', '~> 0.1.1'
+
+gem 'coderay'
+gem 'pygments.rb'
+gem 'thread_safe'
diff --git a/ci/build.sh b/ci/build.sh
new file mode 100755
index 0000000000000000000000000000000000000000..f393c6581f66c01ef190ad19e5e199517f98dfd3
--- /dev/null
+++ b/ci/build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export PERLLIB=$(pwd)/po4a/lib
+export PERL5LIB=$(pwd)/po4a/lib
+export PATH=$PATH:$(pwd)/po4a
+bundle exec make all