mirror of
https://github.com/restic/restic.git
synced 2026-11-13 01:30:48 +00:00
CI: Download minio server, do not compile latest master
This commit is contained in:
1 parent
1fde872016
commit
b64006221c
2 files changed
+59
-11
No files matched your search
+5
-2
@@ -41,12 +41,15 @@ ENV PATH $PATH:$GOPATH/bin
|
||||
|
||||
RUN mkdir -p $GOPATH/src/github.com/restic/restic
|
||||
|
||||
# install tools
|
||||
# pre-install tools, this speeds up running the tests itself
|
||||
RUN go get github.com/tools/godep
|
||||
RUN go get golang.org/x/tools/cmd/cover
|
||||
RUN go get github.com/mattn/goveralls
|
||||
RUN go get github.com/mitchellh/gox
|
||||
RUN go get github.com/pierrre/gotestcover
|
||||
RUN GO15VENDOREXPERIMENT=1 go get github.com/minio/minio
|
||||
RUN mkdir $HOME/bin \
|
||||
&& wget -q -O $HOME/bin/minio https://dl.minio.io/server/minio/release/linux-amd64/minio \
|
||||
&& chmod +x $HOME/bin/minio
|
||||
|
||||
# set TRAVIS_BUILD_DIR for integration script
|
||||
ENV TRAVIS_BUILD_DIR $GOPATH/src/github.com/restic/restic
|
||||
|
||||
Reference in new issue
Block a user