Changed how things are cached on circleci
This commit is contained in:
parent
11544fae21
commit
02b46e6a96
|
@ -15,7 +15,9 @@ dependencies:
|
||||||
- "~/opus"
|
- "~/opus"
|
||||||
- "~/bin"
|
- "~/bin"
|
||||||
- "~/.vendor"
|
- "~/.vendor"
|
||||||
- "$(GOPATH)/src/github.com/nitrous-io"
|
- "/home/ubuntu/.go_workspace/bin"
|
||||||
|
- "/home/ubuntu/.go_workspace/pkg"
|
||||||
|
- "/home/ubuntu/.go_workspace/src/github.com/nitrous-io"
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:
|
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "Gopath: $GOPATH"
|
|
||||||
ls -lR $GOPATH
|
|
||||||
|
|
||||||
# check to see if ffmpeg is installed
|
# check to see if ffmpeg is installed
|
||||||
if [ ! -f "$HOME/bin/ffmpeg" ]; then
|
if [ ! -f "$HOME/bin/ffmpeg" ]; then
|
||||||
echo 'Installing ffmpeg'
|
echo 'Installing ffmpeg'
|
||||||
|
@ -33,12 +30,3 @@ if [ ! -f "$HOME/bin/youtube-dl" ]; then
|
||||||
else
|
else
|
||||||
echo 'Using cached version of youtube-dl.';
|
echo 'Using cached version of youtube-dl.';
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check to see if goop is installed
|
|
||||||
if [ ! -f "$HOME/bin/goop" ]; then
|
|
||||||
echo 'Installing goop'
|
|
||||||
go get github.com/nitrous-io/goop
|
|
||||||
mv "/usr/local/bin/goop" "~/bin/goop"
|
|
||||||
else
|
|
||||||
echo 'Using cached version of goop.';
|
|
||||||
fi
|
|
Reference in a new issue