Skip to content

Commit

Permalink
Update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Jul 27, 2017
1 parent 6bec1f4 commit 0801f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ env:
- _R_CHECK_FORCE_SUGGESTS_=false

after_success:
- Rscript -e 'covr::codecov()'
- Rscript -e 'covr::codecov(function_exclusions = c("rstan_package_skeleton", "init_cpp"))'
1 change: 1 addition & 0 deletions R/rstan_package_skeleton.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ rstan_package_skeleton <-
code_files = character(),
stan_files = character(),
travis = TRUE) {

if (length(stan_files) > 0 && !all(grepl("\\.stan$", stan_files)))
stop("All files named in 'stan_files' must end ",
"with a '.stan' extension.")
Expand Down

0 comments on commit 0801f77

Please sign in to comment.