Skip to content

Commit

Permalink
use update Travis script with bspm
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel authored and joshuaulrich committed Sep 17, 2020
1 parent d6a715a commit bf37266
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/

language: c
sudo: required
dist: bionic

matrix:
include:
Expand All @@ -16,24 +18,18 @@ matrix:
os: linux
dist: bionic
sudo: required
env: _R_CHECK_DEPENDS_ONLY_=true
env: _R_CHECK_DEPENDS_ONLY_="true"

env:
global:
- R_VERSION="4.0"
- USE_BSPM="true"

before_install:
- curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh
- ./run.sh bootstrap

install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./run.sh install_aptget r-cran-runit r-cran-zoo r-cran-timedate \
r-cran-timeseries r-cran-tseries r-cran-chron r-cran-fts r-cran-tis;
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
./run.sh install_r RUnit zoo timeDate timeSeries tseries chron fts tis;
fi
- ./run.sh install_all

script:
- ./run.sh run_tests
Expand Down

0 comments on commit bf37266

Please sign in to comment.