Skip to content

Commit

Permalink
Amended travis to build to docker
Browse files Browse the repository at this point in the history
Former-commit-id: 5489f60
  • Loading branch information
Nathan Skene committed Aug 18, 2020
1 parent 51e29e3 commit 17e9a3b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,28 @@ r:
- release
- oldrel

services:
- docker

cache: packages

# This section is included to ensure that an earlier version of the XML package is installed, as the latest version of
# XML depends on R4.0
before_install:
- wget https://cran.r-project.org/src/contrib/Archive/XML/XML_3.99-0.3.tar.gz
- R CMD INSTALL XML_3.99-0.3.tar.gz
- rm XML_3.99-0.3.tar.gz

# This is intended to run Docker only when the build on linux/release is completed succesfully
matrix:
include:
- os: linux
r: release
after_success:
- docker image build -t nathanskene/EWCE . ;
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
- docker push nathanskene/ewce;

notifications:
webhooks:
on_success: always
Expand Down

0 comments on commit 17e9a3b

Please sign in to comment.