-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
50 lines (47 loc) · 1.3 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
# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
# https://github.com/craigcitro/r-travis/wiki
os: linux
dist: trusty
language: r
sudo: required
r_binary_packages:
- stringr
- devtools
# Travis Octave version
env: OVERSION="Travis (3.8)"
apt_packages:
- liboctave-dev
cache: packages
r: release
warnings_are_errors: false
# Add PPA for testing on multiple octave versions
addons:
apt:
sources:
- sourceline: 'ppa:kwwette/octaves'
before_install:
- sudo apt-get install -y texlive-bibtex-extra
- sudo apt-get -qq update
# multi-version check
matrix:
include:
- env: OVERSION="Travis (3.8)"
- env: OVERSION="4.0" # 4.0
apt_packages:
- liboctave4.0-dev
- env: OVERSION="4.2" # 4.2
before_install:
- sudo apt-get install -y texlive-bibtex-extra
- sudo add-apt-repository -r ppa:rwky/ppa -y # to avoid conflict with libgraphicsmagick3 (see https://github.com/swig/swig/issues/909)
- sudo rm /etc/apt/sources.list.d/rwky*.list* # force complete deletion
- sudo apt-get -qq update
apt_packages:
- liboctave4.2-dev
- libsuitesparse-dev
- libarpack2-dev
- libqrupdate-dev
- libgl2ps-dev
- libgraphicsmagick++1-dev