-
Notifications
You must be signed in to change notification settings - Fork 65
/
.travis.yml
75 lines (68 loc) · 1.66 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# R for travis: https://docs.travis-ci.com/user/languages/r
# tic https://ropenscilabs.github.io/tic/
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm &&
export PATH="/usr/local/opt/llvm/bin:$PATH" &&
export LDFLAGS="-L/usr/local/opt/llvm/lib" &&
export CFLAGS="-I/usr/local/opt/llvm/include" &&
export CXXFLAGS="-I/usr/local/opt/llvm/include"; fi
- R -q -e 'install.packages("remotes"); remotes::install_github("bnosac-dev/tic"); tic::before_install()'
install: R -q -e 'tic::install()'
after_install: R -q -e 'tic::after_install()'
before_script: R -q -e 'tic::before_script()'
script: R -q -e 'tic::script()'
after_success: R -q -e 'tic::after_success()'
after_failure: R -q -e 'tic::after_failure()'
before_deploy: R -q -e 'tic::before_deploy()'
deploy:
provider: script
script: R -q -e 'tic::deploy()'
on:
all_branches: true
after_deploy: R -q -e 'tic::after_deploy()'
after_script: R -q -e 'tic::after_script()'
##
## Custom parts:
##
language: r
latex: true
matrix:
include:
- os: linux
dist: xenial
r: oldrel
- os: linux
dist: xenial
r: release
- os: linux
dist: trusty
r: release
- os: linux
dist: precise
r: release
- os: osx
r: oldrel
- os: osx
r: release
brew_packages:
- libgit2
- openssl
- imagemagick
- gs
addons:
apt:
update: true
sources:
- sourceline: 'ppa:opencpu/imagemagick'
packages:
- libgit2-dev
- libssl-dev
- libmagick++-dev
- librsvg2-dev
- libwebp-dev
- libfftw3-dev
notifications:
email:
on_success: change
on_failure: change
services: