2015-09-07 11:37:23 -04:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2016-05-03 11:13:10 -04:00
|
|
|
- 1.6.2
|
2015-09-07 11:56:35 -04:00
|
|
|
|
2015-09-07 12:08:56 -04:00
|
|
|
before_install:
|
2015-09-07 11:58:10 -04:00
|
|
|
- go get golang.org/x/tools/cmd/cover
|
2016-02-04 11:04:31 -05:00
|
|
|
- go get github.com/onsi/gomega
|
2016-02-04 11:06:59 -05:00
|
|
|
- go get github.com/onsi/ginkgo
|
2015-09-07 11:37:23 -04:00
|
|
|
|
2015-09-07 11:56:35 -04:00
|
|
|
script:
|
2016-01-15 07:14:08 -05:00
|
|
|
- go test -tags json github.com/v2ray/v2ray-core/...
|
2016-02-04 11:04:31 -05:00
|
|
|
|
|
|
|
after_success:
|
2015-11-23 06:08:10 -05:00
|
|
|
- ./testing/coverage/coverall
|
2015-09-07 11:56:35 -04:00
|
|
|
|
2015-11-23 06:08:10 -05:00
|
|
|
before_deploy:
|
|
|
|
- rvm 1.9.3 do gem install mime-types -v 2.6.2
|
|
|
|
- "./release/release.sh"
|
2015-09-18 08:39:54 -04:00
|
|
|
|
2015-09-18 08:19:04 -04:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: "Nbno1ibFpq0DC6y0mkN6NFTbDQinRAEQo2Jl5lvsbiaX9m4CK59xG8XOcmZ3mqqdeioj6m9X5BVe2UtCZjmXmnyPq0FYNFHAPTfd2VrcOpi0fWLD9ndTYAsqjxrqPGK62XVjPbG8U2pGdq2yCOb0qQ9DlahDhVIMzQ/GYuRDps25fPGftepdPwlrwOfYCIvAHoi3GEozuS67WNEx/YtmZTce/2Qebdmwf44hUNaQibeXEspu9wQcp9M/i7aTuX/tUbn7rVCQ4TfoIJU1C1qKedUw0QYMjqP08Wn6UjwwhbblsJKFv8Kc0nx+i2K9CvvLyaBBIVY2Ggxj4Niy+X4VbyWWzdKx+0FXlmKh3U/hJdMZU3OrnwliBns2X3tCHSq7/+7ynLs3UZ4wCkCl7rQYucJ2mlvGquohQV6MX2vjl73y+pYljf+PKYbSDBb7iUOjllisRD+HmDmGQl81BvdEpN/K/BlfsTwHoHxsALSTjRljSngH51SUvjnaVbi/JolJ3lomTr1vCHl4WUiQVLnh7O2Cg7QLNMNieoblnh9yDQG9wC4xuzOJ/AaxRd/pRZMeIooQ1zsHOe+47C1YAep88b+9xtRqVMozAjk/XgNzWjuT2R8G7lZDq0mL9VajD/NUjM3Yrswoft9A3DRmR+lIFJR+fJb8tNf+k1OczE4lesg="
|
2015-09-22 17:45:56 -04:00
|
|
|
file:
|
|
|
|
- "$GOPATH/bin/v2ray-macos.zip"
|
|
|
|
- "$GOPATH/bin/v2ray-windows-64.zip"
|
|
|
|
- "$GOPATH/bin/v2ray-windows-32.zip"
|
|
|
|
- "$GOPATH/bin/v2ray-linux-64.zip"
|
|
|
|
- "$GOPATH/bin/v2ray-linux-32.zip"
|
2015-10-18 14:45:04 -04:00
|
|
|
- "$GOPATH/bin/v2ray-linux-arm.zip"
|
|
|
|
- "$GOPATH/bin/v2ray-linux-arm64.zip"
|
2016-05-03 11:13:58 -04:00
|
|
|
- "$GOPATH/bin/v2ray-linux-mips64.zip"
|
2015-12-27 17:27:39 -05:00
|
|
|
- "$GOPATH/bin/metadata.txt"
|
2015-09-18 08:19:04 -04:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|