-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (46 loc) · 1.64 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
language: c
before_install:
# - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
# - curl -OL http://raw.github.com/lcolladotor/r-travis/master/scripts/travis-tool.sh
# - chmod 755 ./travis-tool.sh
# - ./travis-tool.sh bootstrap
- curl -OL https://raw.githubusercontent.com/metacran/r-builder/master/pkg-build.sh
- chmod 755 ./pkg-build.sh
- ./pkg-build.sh bootstrap
install:
# - ./travis-tool.sh install_bioc_deps
# Install binary pandoc from Rstudio
- export PATH="$HOME/pandoc:$PATH"
- mkdir $HOME/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/pandoc
- chmod +x $HOME/pandoc/pandoc
- pandoc --version
# Install bioc deps
- ./pkg-build.sh install_bioc_deps
script:
# - ./travis-tool.sh run_tests
- ./pkg-build.sh run_build
- ./pkg-build.sh run_check
after_failure:
# - ./travis-tool.sh dump_logs
- ./pkg-build.sh dump_logs
after_script:
# - ./travis-tool.sh dump_logs_by_extension "timings"
# - ./travis-tool.sh dump_sysinfo
- ./pkg-build.sh dump_logs_by_extension "timings"
- ./pkg-build.sh dump_sysinfo
notifications:
email:
on_success: change
on_failure: change
slack:
secure: tsPpxEF6menprb4g4Y2ZrtlwhmBNqzjqmELEDDfxD3wwP07jOX2Uj+E9o3N1FqVgFhAiLUWEdr1C1IokBwMqkiNcBGOooT7ZC8VjB5Sp3bywZ68OB3191nmvLSoUrohY3aMug/HFdOwyFUtukrSmZKfp1sh9a96WlEsTRgAGEuU=
env:
global:
- RVERSION=3.2.2
- R_BUILD_ARGS="--no-manual --no-resave-data"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --timings"
# - R_CHECK_TIME="TRUE"
- _R_CHECK_TIMINGS_="0"