Skip to content

Commit

Permalink
travis.yml CI added
Browse files Browse the repository at this point in the history
  • Loading branch information
gencebay committed Mar 2, 2019
1 parent c2809e7 commit 280ce59
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: go
go:
- 1.11.x
install: true
os:
- linux
dist:
- xenial
env:
global:
- GOARCH=amd64
- GO_FOR_RELEASE=1.11
- GO111MODULE=on
script:
- go get github.com/jteeuwen/go-bindata/...
- go-bindata -pkg "lib" -o "./lib/bindata.go" public/...
- go build
before_deploy:
- git config --local user.name "gencebay"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key:
secure: ixQPehGZq0hYS+yipgl9bfrhekNAs4isn2hpT7ab3fAuIF0O+5JAlso1+1MfH5Pct0MZ2p72lu8tVJ+AdfLcaNGxdPC71Xv/eWmHheUWIzm3gj9Pe4GFvuxITqOY71I1RS4rMJeZTKdQ8EtN2+hcwdkaNRhVbzZO7pat3ewIiWsbLsao53r9yh6uT+coIY9JSXg10Srdtf2Xfxcd/KqFbMrpGLRWaF7bsfdELbNEfHgjUWvsWolXvm99F9z94pxtaPBG6+0hxPt9j6X5hUTia4F/xuNDXGi+9Brw67CQARzqIxjdDfgqCkK9wr+/oYcbnccymAy53Td0nMGbuhxbVTlyq8MJhDA0aIHn9ly/raastOScXZVgmIhigl9Mj/gP3nZDUfcRUyU1VpVlphOzVSGh20kiBoELGYnr8nwBElI27Jb9kPx5OoUsqU8SUOJ00CLu+71NlfFSLKWMIqrGEPA2oDEEg0XOgstsY1PAK0Dqc4/tfxZs+59Q7/IP/7mJVtDPw0602F66+CoIEedfKCwgLvNusPqPz5zr+HbKlQb7RY5zHF8wmIo7qWxKO8leR/8zdKfua662xiPbAcUIOcM+tgbnfPrEiCGRTRccpmIb4MTKCJb1SUyo2yA9U/gbuJllTb+nuJ4RZyv/du0A8mldUR0PsF8E71lI07bTIUo=
file: httplive-*
on:
repo: gencebay/httplive

0 comments on commit 280ce59

Please sign in to comment.