mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 05:32:02 +08:00
Add travis
test deploy to release fix yml test CI test build
This commit is contained in:
parent
d751d21545
commit
2a090a3219
23
.travis.yml
Normal file
23
.travis.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user