-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (14 loc) · 810 Bytes
/
.travis.yml
File metadata and controls
19 lines (14 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
warnings_are_errors: TRUE
r_check_args: --as-cran
sudo: required
cache: packages
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo sh -c 'echo "deb https://cloud.r-project.org/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'; fi
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9; fi
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update; fi
### LINUX
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install gsl-bin libgsl0-dbg libgsl0-dev libgsl0ldbl libcurl4-openssl-dev libxml2-dev; fi
### OSX
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew tap homebrew/science && brew install gsl curl libxml2; fi