forked from gettalong/kramdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 942 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.0
- jruby-head
jdk:
- oraclejdk8
env:
global:
- TRAVIS_NODE_VERSION="4.5"
matrix:
allow_failures:
- rvm: jruby-head
before_install:
- sudo apt-get update
- sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra tidy
- gem install rake
- gem install minitest coderay stringex ritex execjs sskatex
- gem install rouge
- gem install prawn prawn-table
- (ruby --version | grep jruby) || gem install itextomml
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install mathjax-node-cli cssstyle
- curl -L 'https://github.com/Khan/KaTeX/releases/download/v0.8.3/katex.tar.gz' | tar xzf - 'katex/katex.min.js'
script: ruby -Ilib:test test/test_*