Changed how things are cached on circleci

This commit is contained in:
MichaelOultram 2015-08-12 21:44:04 +01:00
parent 11544fae21
commit 02b46e6a96
2 changed files with 3 additions and 13 deletions

View file

@ -15,7 +15,9 @@ dependencies:
- "~/opus"
- "~/bin"
- "~/.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:
override:
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:

View file

@ -1,9 +1,6 @@
#!/bin/sh
set -e
echo "Gopath: $GOPATH"
ls -lR $GOPATH
# check to see if ffmpeg is installed
if [ ! -f "$HOME/bin/ffmpeg" ]; then
echo 'Installing ffmpeg'
@ -32,13 +29,4 @@ if [ ! -f "$HOME/bin/youtube-dl" ]; then
chmod a+rx ~/bin/youtube-dl
else
echo 'Using cached version of youtube-dl.';
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