Skip to content

Commit

Permalink
Parallel make and executable flag
Browse files Browse the repository at this point in the history
  • Loading branch information
riobard committed Apr 1, 2018
1 parent 29a3f3c commit bfb6c85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sudo: false
go:
- 1.x
install: go get -u -t -v ./...
script: make releases
script: make -j releases
deploy:
provider: releases
api_key:
Expand All @@ -12,4 +12,6 @@ deploy:
file: bin/*
skip_cleanup: true
on:
repo: riobard/go-shadowsocks2
repo: riobard/go-shadowsocks2
branch: master
tags: true
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ win64:
GOARCH=amd64 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe

releases: linux macos win64
chmod +x $(BINDIR)/shadowsocks2-*
gzip $(BINDIR)/shadowsocks2-linux
gzip $(BINDIR)/shadowsocks2-macos
zip -m $(BINDIR)/shadowsocks2-win64.zip $(BINDIR)/shadowsocks2-win64.exe
zip -m -j $(BINDIR)/shadowsocks2-win64.zip $(BINDIR)/shadowsocks2-win64.exe

clean:
rm $(BINDIR)/*

0 comments on commit bfb6c85

Please sign in to comment.