Skip to content

Commit 132d84a

Browse files
committed
update travis
1 parent f23a28f commit 132d84a

File tree

1 file changed

+22
-25
lines changed

1 file changed

+22
-25
lines changed

.travis.yml

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
1-
go_import_path: github.com/wzshiming/gen
2-
31
language: go
4-
5-
go:
6-
- 1.10.x
7-
- 1.11.x
8-
- tip
9-
10-
os:
11-
- linux
12-
- osx
13-
- windows
14-
15-
matrix:
16-
allow_failures:
17-
- go: tip
18-
fast_finish: true
19-
20-
install:
21-
- go get -v github.com/wzshiming/gen/cmd/gen
22-
23-
script:
24-
- go test -v github.com/wzshiming/gen/...
25-
26-
sudo: false
2+
sudo: false
3+
notifications:
4+
email: false
5+
jobs:
6+
include:
7+
- go: 1.13.x
8+
stage: deploy
9+
go_import_path: github.com/wzshiming/gen
10+
install: skip
11+
script: skip
12+
before_deploy:
13+
- BASENAME=gen bash -c "$(curl -fsSL https://github.com/wzshiming/my-shell/raw/master/build_all.bash)"
14+
deploy:
15+
provider: releases
16+
api_key: $CI_TOKEN
17+
file_glob: true
18+
file: release/*
19+
skip_cleanup: true
20+
on:
21+
repo: wzshiming/gen
22+
branch: master
23+
tags: true

0 commit comments

Comments
 (0)