mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
Combine to Travis
This commit is contained in:
parent
6f8d978268
commit
acf53d2bdb
18
.travis.yml
18
.travis.yml
@ -2,20 +2,28 @@ language: go
|
|||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.13
|
- 1.13
|
||||||
|
|
||||||
|
env: GO111MODULE=on
|
||||||
arch:
|
arch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- windows
|
- windows
|
||||||
- osx
|
- osx
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
env: GO111MODULE=on
|
script: sh scripts/build.sh $TRAVIS_OS_NAME $TRAVIS_CPU_ARCH
|
||||||
|
|
||||||
script:
|
jobs:
|
||||||
- sh scripts/build.sh $TRAVIS_OS_NAME $TRAVIS_CPU_ARCH
|
include:
|
||||||
|
- stage: "Unit Tests"
|
||||||
|
arch:
|
||||||
|
- amd64
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
script:
|
||||||
|
- go test -v -cover encoder_test.go encoder.go helper.go
|
||||||
|
- go test -v -cover helper_test.go helper.go
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user