Skip to content

Commit

Permalink
Batch Updating Travis configs: Update Slack notification [revdep skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmclean committed Nov 22, 2022
1 parent 4f62556 commit 2f20900
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Expand Up @@ -25,8 +25,9 @@ before_install:
- rcode+="line.fail <- max(grep('FAIL', out)); "
- rcode+="tmp <- unlist(strsplit(split='[[:space:]]+', out[line.fail])); "
- rcode+="pos.fail <- grep('FAIL', tmp); n.fail <- as.numeric(tmp[pos.fail+1]); "
- rcode+="res <- as.data.frame(res); out <- data.frame(file = unlist(res[['file']]), warning = unlist(res[['warning']])); "
- rcode+="write.csv(out, file='test_results.csv'); "
- rcode+="res <- as.data.frame(res);"
- rcode+="out <- data.frame(fail = res[['failed']] + res[['error']], file = unlist(res[['file']]), warning = unlist(res[['warning']])); "
- rcode+="write.csv(out, file='test_results.csv', row.names = FALSE); "
- rcode+="quit(status = !identical(n.fail, 0), save='no');"
- Rscript tools/travis_run_before_install.R

Expand Down Expand Up @@ -60,3 +61,5 @@ notifications:
after_success:
- Rscript -e "require(flipDevTools); NotifyWarnings(); TriggerDownstreamBuilds()"
- travis_wait Rscript -e "flipDevTools::CheckCoverage()"
after_failure:
- Rscript -e "require(flipDevTools); NotifyWarnings()"

0 comments on commit 2f20900

Please sign in to comment.