forked from rstudio/rmarkdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 881 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
33
34
35
36
37
language: c
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
# Install binary pandoc from Rstudio
- mkdir -p $HOME/opt/pandoc
- curl -O https://s3.amazonaws.com/rstudio-buildtools/pandoc-1.12.3.zip
- unzip -j pandoc-1.12.3.zip pandoc-1.12.3/linux/debian/x86_64/pandoc
-d $HOME/opt/pandoc
- chmod +x $HOME/opt/pandoc/pandoc*
- rm pandoc-1.12.3.zip
- $HOME/opt/pandoc/pandoc --version
- ./travis-tool.sh r_binary_install knitr
- ./travis-tool.sh r_binary_install yaml
- ./travis-tool.sh install_deps
script: ./travis-tool.sh run_tests
on_failure:
- ./travis-tool.sh dump_logs
env:
- global:
- WARNINGS_ARE_ERRORS=1
branches:
except:
- /-expt$/
notifications:
email:
on_success: change
on_failure: change