forked from neelkapse/pandoc-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
25 lines (22 loc) · 909 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
sudo: false
cache:
directories:
- $HOME/.stack
addons:
apt:
packages:
- libgmp-dev
language: ruby
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C $HOME/.local/bin '*/stack'
- git clone https://github.com/Authorea/pandoc.git $HOME/pandoc
- (cd $HOME/pandoc && export PATH=$HOME/.local/bin:$PATH && git checkout master)
- (cd $HOME/pandoc && export PATH=$HOME/.local/bin:$PATH && git submodule init)
- (cd $HOME/pandoc && export PATH=$HOME/.local/bin:$PATH && git submodule update --recursive)
- (cd $HOME/pandoc && export PATH=$HOME/.local/bin:$PATH && stack update)
- (cd $HOME/pandoc && export PATH=$HOME/.local/bin:$PATH && stack setup)
- (cd $HOME/pandoc && export PATH=$HOME/.local/bin:$PATH && stack install)
rvm:
- 2.3.1