forked from IRkernel/IRkernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (56 loc) · 1.22 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
language: r
sudo: false
cache: packages
# travis handles 5 builds in parallel,
# so restrict the build matrix to multiples of that.
# Also put the most important builds (-> release on both os)
# into the first batch
matrix:
include:
- r: release
env: DEPS=cran
os: linux
- r: release
env: DEPS=github
os: linux
- r: release
env: DEPS=cran
os: osx
- r: release
env: DEPS=github
os: osx
- r: devel
env: DEPS=cran
os: linux
- r: devel
env: DEPS=github
os: linux
- r: oldrel
env: DEPS=cran
os: linux
allow_failures:
- r: devel
env: DEPS=cran
os: osx
- r: devel
env: DEPS=github
os: osx
- r: oldrel
env: DEPS=cran
os: osx
r_packages:
- devtools
before_script:
- source .travis.sh
- install_r_packages
- export PATH="$HOME/miniconda/bin:$PATH"
- create_conda_environment
- source activate test-environment
- pip install jupyter_kernel_test ndjson-testrunner
script:
- fold_wrap 'Exporting variables' export_variables
- fold_wrap 'Building Package' build_package
- fold_wrap 'Checking Package' check_package
after_failure:
- cat "$CHECK_LOG"
- cat "$INSTALL_LOG"