Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucastheisen committed Feb 25, 2018
1 parent 6912ff8 commit 958fab3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@ script:
before_deploy:
- |
for PLATFORM in windows linux darwin; do
EXTENSION=""
if [[ $PLATFORM = 'windows' ]]; then
EXTENSION=".exe"
fi
export GOOS=$PLATFORM
export GOARCH=amd64
export CGO_ENABLED=0
go build -o $GOPATH/bin/clconf-$PLATFORM$EXTENSION
OUT_FILE="$GOPATH/bin/clconf-$PLATFORM$EXTENSION"
echo "Creating $OUT_FILE"
go build -o $OUT_FILE
done
ls -lrt $GOPATH/bin
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 958fab3

Please sign in to comment.