Skip to content

Commit

Permalink
Add travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
jnavila committed Dec 23, 2018
1 parent 9a62c9b commit b02c8a5
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -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'
6 changes: 6 additions & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b02c8a5

Please sign in to comment.