-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
58 lines (56 loc) · 4.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
- secure: LvXLJtMSA6MxlV+zgZwdVUm4R4IZOY9WuKmX+SAmXpa6swV9k5kILne6QAhjDsX2o9463bgb5tQ3nHTDuY09BiszJNxe3npPU/0F18YzXT6MXh5BWSq6wHdmbF6dhHfuuJab8ZUKwdAScA+7UABYW7M/avBfSnr35ZWNXWUAHIgKIt5SCrcMg06rzPpHDF4jiXDw5HIzYZQfSSrTxXkYaXHTX+M/WCU0NM6yePMqOCUXgAY4HDAK5b5fuoH5jHG+n/EpSFhIp9hf0XPrEpevm8TPMCG9yRwAzuK3qEJ4FDT89dqgTA/Ym2SLfiW8sWrWq7a2xfBjTPEwyXfYCkySw3rlI7ZPVbKRdz4og32GVrTBtpbPzm2x9cyrjHlpiDTckLVE8hoTBiUeN7OxTOYagFX6epkLqv94fhmo9BHOPRAnwKtS6ItYkexwRZdgARGzlujPfsJoPliBfXoPQsqX8X/Hv+GdhXxlal6Ukec6g23yRqOXuFSsb2/rvEMsoOd8Dk7Q+maLNUlXbedx0NniXxjJN7hQ0Ybk+bmUQiR7Gn9pq/aPpZJZhK7vWg7t+h5kHnucYt2E4Y2i0sPt99QJzzNUs1/oxic6vDk7+rLlToKBAMXzjK4HCXtbFq27PgqhmRyp+TBMF3AbqXzoYF8qTMpbC56HJ5jZgc+dl/w32nE=
- secure: McNqPRnYGyRScB6nJy7dOy01b4lwlXOSDk69vsRcPzq7Datdrn4JuXMmKlIl/4ll7g93aDaOn10Q2hVUYFBzlRvpxP9XAB5dZ2BYC4Xbmh3TgMC8SNgcX56Cn7WJXEvjSFACdKYntoCPOmMtz2LyoSUa0MT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eH6BnjXjrgLNfSOEBLC9cvGBDX7gB0AyaPycNUnvUsD4uDF83uCwn02Jn1cjTyjaSTpv/31T4U+V6ALTIgy/qfuYOQDhXYNJWCONAdCgC+fZtVo3Z4hKTqWER3XM24nWvL3udUXUWLQg6K8=
- GO111MODULE=on
sudo: required
services:
- docker
jobs:
include:
- stage: test
language: go
go:
"1.11.x"
before_install:
- go get github.com/mattn/goveralls
script:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.15.0
- golangci-lint run
- go test -v -race ./... -coverprofile=segdsp.coverprofile
- goveralls -coverprofile=segdsp.coverprofile -service travis-ci
- stage: dockerBuilds
language: go
go:
"1.11.x"
before_install:
- docker run --rm --privileged multiarch/qemu-user-static:register
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
script:
- ./multi-build.sh
after_success:
- echo $COMMIT
- stage: tagBuilds
language: go
go:
"1.11.x"
script:
- git describe --exact-match --tags HEAD 2>> /dev/null && export TRAVIS_TAG="`git describe --exact-match --tags HEAD`"; echo ""
- ./travis-build.sh
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: "cdifHn6ogMEdX7f0BLvowq5Jqr6fYQDFnNxTiBmL3KKZ9UvVpGtaNTaBFt++xE+P7RtVL7Ipxbg0TX15KdaC4eftSS4JnrCnFg8FjGO37114qL0xmA4rnhkdMBz/TtxXKGAks0KOeYP3VraNhqjjBb+9wnFDES56OIJwHPmtX+zP9rizXwGSvLvAtvcvG2+x5zvWtOJmm7t70iRgh4120ePdPHWU5DZak8WbVWlA0qpYgMTQS7o6vqO3nNLB/UqMmGChYXR2aVE5CovDttRnCDLsDPGVuwZURSuv10bWgTUZkSJkJX8gf10Pikh8N7XqYgC0hMjTjQR14AhlfjuPofrO2kbvQygHSkXsLqx8mVeUrkUjSm+g4DPCv9ClZRZh4J8nq4Gut50Ry6OJN7CR0pdcY+phEv+OtEBzeGoAqbQO6qJKMYDvTQwDWLHuDQ+w1LLg/ARUqctmDcU0Nk8YDUfEaiYsxtfKb04po9it8BhD5PTmmqOZefBb943OzRLnNDcm7yB7pexAtj5x0t21QrecM01R5nvmX+YtPQatAp4LepgZEXYXBM0stPr6YFNw7st6MZDeX23jq4HgdRKZrOB9li0oQ/FL9bMt4B71TlJGXdP6fuI6eYLBwAbtAQojKYClngjjBbgU3L19rqNUJMSrCsuirQOHl5eeiJJXWYs="
file:
- bins/segdsp-linux-386.zip
- bins/segdsp-linux-amd64.zip
- bins/segdsp-linux-arm64.zip
- bins/segdsp-linux-arm.zip
- bins/segdsp-windows-386.zip
- bins/segdsp-windows-amd64.zip
on:
tags: true
repo: racerxdl/segdsp