forked from r-lib/xml2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
47 lines (41 loc) · 947 Bytes
/
.travis.yml
File metadata and controls
47 lines (41 loc) · 947 Bytes
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
language: r
cache: packages
matrix:
include:
- os: linux
dist: precise
sudo: false
- os: linux
dist: trusty
sudo: required
env: R_CODECOV=true
- os: osx
osx_image: xcode8
latex: false
before_install:
- cp /usr/bin/xml2-config /usr/local/bin/xml2-config
- sed -i.bak 's#prefix=$(xcrun -show-sdk-path)/usr#prefix=/usr#' /usr/local/bin/xml2-config
- os: osx
osx_image: xcode8
before_install:
- brew install libxml2
- brew link --force libxml2
latex: false
- os: osx
osx_image: beta-xcode6.1
disable_homebrew: true
addons:
apt:
packages:
- libxml2-dev
- valgrind
r_github_packages:
- jimhester/covr
warnings_are_errors: true
#r_check_revdep: true
notifications:
email:
on_success: change
on_failure: change
after_success:
- if [[ "${R_CODECOV}" ]]; then R -e 'covr::codecov()'; fi