Add travis

test deploy to release

fix yml

test CI

test build
This commit is contained in:
n0vad3v 2020-02-26 21:27:07 +08:00 committed by Benny~
parent d751d21545
commit 2a090a3219
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

23
.travis.yml Normal file
View File

@ -0,0 +1,23 @@
language: go
go:
- 1.13
jobs:
include:
- stage: test-build
script: go build -o webp-server-linux-amd64 webp-server.go
script: ls
- stage: GitHub Release
script: echo "Deploying to GitHub releases ..."
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
skip_cleanup: true
file:
- webp-server
on:
repo: webp-sh/webp_server_go
tags: false
branch: add-travis-ci