forked from knausb/vcfR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (37 loc) · 797 Bytes
/
.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
# Sample .travis.yml for R projects
language: r
r:
- release
# - devel
cache: packages
warnings_are_errors: true
sudo: false
# https://github.com/jimhester/rio/blob/9026180fd731aaed34f21cba3b5e207124618e5b/.travis.yml#L8-L20
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
before_install: |
mkdir ~/.R
cat <<EOF > ~/.R/Makevars
CXX1X=g++-4.9
CXX1XSTD=-std=c++11
r_github_packages:
# - jimhester/covr
# - ./travis-tool.sh install_github knausb/vcfR
r_packages:
- covr
after_success:
- Rscript -e 'library(covr);coveralls()'
notifications:
email:
on_success: change
on_failure: change
env:
global:
- CRAN=http://cran.rstudio.com
- NOT_CRAN=true
# - CRAN: http://cran.at.r-project.org