Skip to content

Commit

Permalink
drop valgrind from .travis.yml to avoid timing out
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoBosh committed Feb 22, 2020
1 parent 661a0f0 commit c247dc3
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 60 deletions.
106 changes: 47 additions & 59 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

# with valgrind; check only with R-devel in case it takes long.
# Using '60' in travis_wait is porbably beyond the allowed limit
# (the job is cancelled after about 60 minutes)
## check with --use-valgrind - this timeouts on travis unless some tests are removed
##
## # with valgrind; check only with R-devel in case it takes long.
## # Using '60' in travis_wait is probably beyond the allowed limit
## # (the job is cancelled after about 50 minutes)
## #
## language: r
## cache: packages
##
## r_github_packages: GeoBosh/lagged
## r_check_args: '--as-cran --use-valgrind'
##
## addons:
## apt:
## packages:
## - valgrind
##
## env:
## - VALGRIND_OPTS='--leak-check=full
## # - VALGRIND_OPTS='--leak-check=full --track-origins=yes'
##
## matrix:
## include:
## - os: linux
## r: devel
##
## after_failure:
## find *Rcheck -name '*.fail' -print -exec cat '{}' \;
##
## script:
## - R CMD build --no-build-vignettes .
## - travis_wait 60 R CMD check --no-build-manual --no-examples --no-build-vignettes --as-cran --use-valgrind sarima*.tar.gz


# All tests with all OS-es
#
language: r
cache: packages
latex: true

r_github_packages: GeoBosh/lagged
r_check_args: '--as-cran --use-valgrind'
r_github_packages:
- r-lib/covr

addons:
apt:
packages:
- valgrind

env:
- VALGRIND_OPTS='--leak-check=full
# - VALGRIND_OPTS='--leak-check=full --track-origins=yes'
after_success:
- Rscript -e 'covr::coveralls()'

matrix:
include:
- os: linux
r: release
- os: linux
r: devel

after_failure:
find *Rcheck -name '*.fail' -print -exec cat '{}' \;

script:
- R CMD build --no-build-vignettes .
- travis_wait 60 R CMD check --no-build-manual --no-examples --no-build-vignettes --as-cran --use-valgrind sarima*.tar.gz


# Alternative variants below, commented out

# # All tests with all OS-es
# #
# language: r
# cache: packages
# latex: true
#
# r_github_packages:
# - r-lib/covr
#
# after_success:
# - Rscript -e 'covr::coveralls()'
#
# matrix:
# include:
# - os: linux
# r: release
# - os: linux
# r: devel
# - os: linux
# dist: trusty
# env: R_CODECOV=true
# - os: osx
# osx_image: xcode8.3
- os: linux
dist: trusty
env: R_CODECOV=true
- os: osx
osx_image: xcode8.3


# # Alternatively, run several 'R CMD check' with different arguments.
Expand All @@ -66,15 +66,3 @@ script:
# - R CMD build .
# - R CMD check --no-manual --no-tests --as-cran --use-valgrind sarima*.tar.gz
# - travis_wait 60 R CMD check --no-manual --no-examples --no-build-vignettes --as-cran --use-valgrind sarima*.tar.gz












1 change: 0 additions & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c247dc3

Please sign in to comment.