Skip to content

Commit

Permalink
Merge pull request probcomp#376 from probcomp/mugamma-update-docker-file
Browse files Browse the repository at this point in the history
update docker file and add docker tests to travis
  • Loading branch information
marcoct authored Feb 15, 2021
2 parents fd05c89 + 6f885b6 commit e0e31b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ julia:
- 1.4
- 1.5

services:
- docker

jobs:
include:
- stage: test
script:
- julia -e 'using Pkg; Pkg.build(); Pkg.test()'
- stage: docker
script:
- docker build docker/ -t gen
- stage: docs
julia: 1.5
os: linux
Expand Down
8 changes: 8 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM julia
MAINTAINER MIT Probabilistic Computing Project

ADD . /probcomp

ENV JULIA_PKG_DEVDIR=/probcomp

RUN julia -e 'using Pkg; Pkg.develop("Gen"); Pkg.test("Gen")'

0 comments on commit e0e31b1

Please sign in to comment.