2018-06-15 09:49:14 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
|
|
|
go:
|
2019-02-26 17:02:43 +00:00
|
|
|
- '1.12'
|
2018-06-15 09:49:14 +00:00
|
|
|
install:
|
2018-10-01 11:38:54 +00:00
|
|
|
- "go mod download"
|
2018-06-15 09:49:14 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- NAME=clash
|
|
|
|
- BINDIR=bin
|
2018-10-01 11:38:54 +00:00
|
|
|
- GO111MODULE=on
|
2018-06-15 09:49:14 +00:00
|
|
|
script:
|
2018-06-18 10:24:11 +00:00
|
|
|
- go test ./...
|
2018-06-17 00:18:39 +00:00
|
|
|
before_deploy: make -j releases
|
2018-06-15 09:49:14 +00:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
prerelease: true
|
|
|
|
skip_cleanup: true
|
|
|
|
api_key:
|
|
|
|
secure: dp1tc1h0er7aaAZ1hY0Xk/cUKwB0ifsAjg6e0M/Ad5NC87oucP6ESNFkDu0e9rUS1yB826/VnVGzNE/Z5zdjXVzPft+g5v5oRxzI4BKLhf07t9s+x8Z+3sApTxdsC5BvcN9x+5yRbpDLQ3biDPxSFu86j7m2pkEWw6XYNZO3/5y+RZXX7zu+d4MzTLUaA2kWl7KQAP0tEJNuw9ACDhpkw7LYbU/8q3E76prOTeme5/AT6Gxj7XhKUNP27lazhhqBSWM14ybPANqojNLEfMFHN/Eu2phYO07MuLTd4zuOIuw9y65kgvTFcHRlORjwUhnviXyA69obQejjgDI1WDOtU4PqpFaSLrxWtKI6k5VNWHARYggDm/wKl0WG7F0Kgio1KiGGhDg2yrbseXr/zBNaDhBtTFh6XJffqqwmgby1PXB6PWwfvWXooJMaQiFZczLWeMBl8v6XbSN6jtMTh/PQlKai6BcDd4LM8GQ7VHpSeff4qXEU4Vpnadjgs8VDPOHng6/HV+wDs8q2LrlMbnxLWxbCjOMUB6w7YnSrwH9owzKSoUs/531I4tTCRQIgipJtTK2b881/8osVjdMGS1mDXhBWO+OM0LCAdORJz+kN4PIkXXvKLt6jX74k6z4M3swFaqqtlTduN2Yy/ErsjguQO1VZfHmcpNssmJXI5QB9sxA=
|
|
|
|
file: bin/*
|
|
|
|
file_glob: true
|
|
|
|
on:
|
|
|
|
repo: Dreamacro/clash
|
|
|
|
branch: master
|
|
|
|
tags: true
|