-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (31 loc) · 1005 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
language: r
cache: packages
r_packages:
- devtools
- ggplot2
r_github_packages:
- jimhester/covr
- jimhester/lintr
- MangoTheCat/goodpractice
- KlausVigo/phangorn
before_install:
- sudo apt install libgit2-dev
- sudo add-apt-repository -y ppa:opencpu/imagemagick
- sudo apt-get update
- sudo apt-get install -y libmagick++-dev
before_script:
- if [ -f ".lintr" ]; then echo "Do use Hadley Wickham's style guide"; exit 1; fi
- sudo pip install proselint
script:
- travis_wait 60 R CMD build .
- travis_wait 60 R CMD check sls*tar.gz
after_success:
- Rscript -e 'lintr::lint_package()'
- travis_wait 60 Rscript -e 'covr::codecov()'
- travis_wait 60 Rscript -e 'goodpractice::gp()'
- proselint *.md | egrep -v "typography\.symbols\.curly_quotes"
after_failure:
- Rscript -e 'lintr::lint_package()'
- travis_wait 60 Rscript -e 'covr::codecov()'
- travis_wait 60 Rscript -e 'goodpractice::gp()'
- proselint *.md | egrep -v "typography\.symbols\.curly_quotes"