Skip to content

Commit

Permalink
Adds demo to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ivotron committed Dec 8, 2017
1 parent 32d08df commit ad583c7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ language: bash
services: docker
script:
- ./build-me.sh
- docker run --rm -v `pwd`/ci/demo:/demo --entrypoint=/demo falsifiable/popper
- cd popper/_check && ./build_images
10 changes: 10 additions & 0 deletions docs/ci/demo
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -ex
mkdir /tmp/mypaper
cd /tmp/mypaper
git init
popper init
popper init mypipeline
popper ci travis
cd pipelines/mypipeline
popper check
8 changes: 6 additions & 2 deletions popper/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM golang:1.9

ADD . /go/src/github.com/systemslab/popper

WORKDIR /go/src/github.com/systemslab/popper
RUN go get ./
RUN go build

RUN go get ./ && \
go build

ENTRYPOINT ["/go/bin/popper"]

0 comments on commit ad583c7

Please sign in to comment.