-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (33 loc) · 1.07 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
language: r
cache: packages
r_packages:
- BH
- devtools
- hunspell
r_github_packages:
- jimhester/covr
- jimhester/lintr
- MangoTheCat/goodpractice
- ropensci/spelling
before_install:
- sudo add-apt-repository -y ppa:opencpu/imagemagick
- sudo apt-get update
- sudo apt-get install -y libmagick++-dev
before_script:
- Rscript -e "install.packages(\"libs/hyperA_0.1.0.tar.gz\", repos = NULL, type = \"source\")"
- if [ -f ".lintr" ]; then echo "Do use Hadley Wickham's style guide"; exit 1; fi
# proselint
- sudo pip install proselint
script:
- travis_wait 60 R CMD build .
- travis_wait 60 R CMD check mbd*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"