-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
76 lines (70 loc) · 2.36 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
76
#
# Travis CI configuration file
#
# ICRAR - International Centre for Radio Astronomy Research
# (c) UWA - The University of Western Australia, 2016
# Copyright by UWA (in the framework of the ICRAR)
# All rights reserved
#
# Contributed by Rodrigo Tobar
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
# This should do it, there's no need to specify anything else
language: r
cache: packages
dist: xenial
services: [xvfb]
# Build matrix
# We try at least one Linux and one MacOS environment
matrix:
include:
- os: linux
r: oldrel
- os: linux
r: release
- os: linux
r: devel
- os: osx
osx_image: xcode9.4 # OSX 10.13
- os: osx
osx_image: xcode10 # OSX 10.13
- os: osx
osx_image: xcode11 # OSX 10.14
# To build the vignettes we need rmarkdown
r_packages: rmarkdown
# The pracma binary uploaded to CRAN is for R 3.4.3 (a pre-release as of this writing),
# and therefore we fail with WARNINGs about the package being compiled for a different R version
before_script:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then Rscript -e "install.packages('pracma', type = 'source')"; fi
# Additional packages that are not fetched from CRAN
# Care must be taken to specify the packages in their dependency order
bioc_packages: EBImage
r_github_packages:
- asgr/celestial
- asgr/magicaxis
- asgr/ProFound
# ProFit benefits from having fftw3
# nlopt-dev is needed to prevent the nlopt R package from downloading its own copy of nlopt,
# which fails in R <= 3.3 (its internal downloading mechanism doesn't support https, which gets
# deferred to libcurl's, which eventually fails to download a file from S3).
addons:
apt:
packages:
- libfftw3-dev
- libnlopt-dev
- devscripts
brew_packages: fftw