fix circle & docker hub

This commit is contained in:
Matej Kramny 2016-12-21 18:36:54 +09:00
parent a77c7f60ec
commit 05dd233311
3 changed files with 6 additions and 4 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "public/vendor"]
path = public/vendor
url = git@github.com:ansible-semaphore/semaphore-vendor.git
url = git://github.com/ansible-semaphore/semaphore-vendor.git

View File

@ -4,12 +4,14 @@ machine:
dependencies:
pre:
- sudo rm -rf /usr/local/go
- sudo curl -L https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz > /tmp/go.tar.gz
- sudo tar -C /usr/local -xzf /tmp/go.tar.gz
- git submodule update --init --recursive
- npm i -g nodemon less pug-cli
- npm i -g less pug-cli
- npm i async
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/mitchellh/gox
- go get github.com/cespare/reflex
override:
- mkdir -p $CPATH

View File

@ -57,7 +57,7 @@ if [ "$1" == "watch" ]; then
fi
cd cli
gox -os="linux darwin windows openbsd" -output="semaphore_{{.OS}}_{{.Arch}}" ./...
gox -output="semaphore_{{.OS}}_{{.Arch}}" ./...
if [ "$CIRCLE_ARTIFACTS" != "" ]; then
rsync -a semaphore_* $CIRCLE_ARTIFACTS/