-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy path.travis.yml
49 lines (42 loc) · 1.53 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
language: c
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- chmod 755 ./.push_gh_pages.sh
- ./travis-tool.sh bootstrap
install:
# Dependencies for shiny/rmarkdown integration
# Thanks RStudio! https://github.com/rstudio/rmarkdown/blob/master/.travis.yml
# Install binary pandoc from Rstudio
- mkdir -p $HOME/opt/pandoc
- curl -O http://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
# install uninstalled packages which this pkg depends on/links to/suggests.
- ./travis-tool.sh install_deps
- ./travis-tool.sh install_github jimhester/covr hadley/ggplot2#1649
script:
- Rscript -e "devtools::install(dep=FALSE)"
- Rscript -e "source('tests/testthat.R', chdir=TRUE)"
after_success:
- Rscript -e "library(covr);coveralls()"
- ./.push_gh_pages.sh
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change
env:
global:
- secure: "KBHQwH4LExvV/rXagTdBa89VKAfC8aYVNUANrklJ6KCoOWQ4Jh3qIWwSDM8ModcR9Oq8JR9I3N/ObatIN/finjgDdCNUndUQcWaT6YNfnbznTQhR0PgthoCmvb0NWJwC2nEYC13XB5hwBMvq65vEkXu4uwthIBDhl5l56RN2+Rc="
matrix:
- TEST_SUITE=renderer1
- TEST_SUITE=renderer2
- TEST_SUITE=renderer3
- TEST_SUITE=renderer4
- TEST_SUITE=renderer5
- TEST_SUITE=compiler