2020-02-06 23:50:30 +00:00
|
|
|
os: linux
|
|
|
|
dist: xenial
|
2017-06-26 09:15:19 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2017-08-31 18:04:53 +00:00
|
|
|
- 1.9.x
|
2020-02-06 23:50:30 +00:00
|
|
|
- 1.13.x
|
|
|
|
|
|
|
|
go_import_path: "github.com/pterodactyl/wings"
|
2017-06-26 09:15:19 +00:00
|
|
|
|
2017-08-02 20:44:45 +00:00
|
|
|
services:
|
2020-02-06 23:50:30 +00:00
|
|
|
- docker
|
2017-08-02 20:44:45 +00:00
|
|
|
|
2017-06-26 09:15:19 +00:00
|
|
|
install:
|
2017-08-02 20:58:26 +00:00
|
|
|
- mkdir -p $GOPATH/bin
|
2017-07-06 19:00:56 +00:00
|
|
|
|
2018-02-20 22:43:33 +00:00
|
|
|
# Install used tools
|
2017-06-27 08:03:17 +00:00
|
|
|
- go get github.com/mitchellh/gox
|
|
|
|
- go get github.com/haya14busa/goverage
|
|
|
|
- go get github.com/schrej/godacov
|
2017-07-06 19:00:56 +00:00
|
|
|
|
2020-02-06 23:50:30 +00:00
|
|
|
- go mod download
|
2017-06-26 09:43:56 +00:00
|
|
|
|
|
|
|
script:
|
2017-08-02 21:23:13 +00:00
|
|
|
- make cross-build
|
2017-06-27 08:03:17 +00:00
|
|
|
- goverage -v -coverprofile=coverage.out ./...
|
|
|
|
- godacov -t $CODACY_TOKEN -r ./coverage.out -c $TRAVIS_COMMIT
|
2017-06-26 18:28:25 +00:00
|
|
|
|
2017-06-27 08:03:17 +00:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: HQ8AvnSsOW2aDUKv25sU83SswK9rReGeFi68SotLGPdWyFBWJbp/JEHhw9swSqvhLPykx5QqLnRPG4nomOp2i5dVTXgM/7C3wQ2ULymkJDZqDJEAxjm1IuNsjXgcFqp0zcNXL3g0moaorHS2XZpzbgaewlCyYoEb+3SZUGzOCPIjSFvoIBaAYx6kRn+pyWo1I0mQChno2i7SGvAoZwh/hZIO6L5FZe5PcpBs/SxkZ+/shsGMk7CIyNMhG6CQTE1tlr+ZenluXjtliZfc4XwkHG/9MICNl8ihUrnN6YfdvJZXLQvolZQ0QJ5Eyb04jQd1yzKR1hcLx2S42IAWxaWTy5QxSN8QyG5wBRNg567ib5FEqY4M1nyQnWQbUbaiYloYBp14aR1L9DQw8+xmXnlgnTUPq1w+cOpQLeY/RENCalgHe7NoI3lClC2b7/c1j+O7RA68yYUFUod0y7ZXcCwsJkbRk7xgyDEAGs+rq8wLknj6f8y8cfNm179lRARwblnmo9uA43Tlee8DBSziSvJy/mYMzdIQeb+PHuznXjr4fze7x+zvronkiD/JH8MjJl3SWaE7DGtc5jz4+aRxU3rMbHwToEOY6u5pIsvz5PRFYWBvKX2+VoxmdR+m1qhAxsg0wtbA0CTnqgHNGMIFDWVTDQSy8LvJt+usUn1RtrYyyiI=
|
|
|
|
file_glob: true
|
|
|
|
file: build/*
|
|
|
|
on:
|
2017-08-02 22:11:00 +00:00
|
|
|
tags: true
|
2017-06-27 08:03:17 +00:00
|
|
|
branch: master
|
2017-08-31 23:32:10 +00:00
|
|
|
|
|
|
|
notifications:
|
2017-09-01 00:34:28 +00:00
|
|
|
email: false
|
2017-08-31 23:32:10 +00:00
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://misc.schrej.net/travistodiscord/pterodev.php
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_error: always
|
|
|
|
on_cancel: always
|
|
|
|
on_start: never
|