Skip to content

Commit

Permalink
fix circle & docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkramny committed Dec 21, 2016
1 parent a77c7f6 commit 05dd233
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
@@ -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
6 changes: 4 additions & 2 deletions circle.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion make.sh
Expand Up @@ -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/
Expand Down

0 comments on commit 05dd233

Please sign in to comment.