This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
forked from atilaromero/telegram-desktop-decrypt
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (53 loc) · 1.58 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
language: go
sudo: false
matrix:
include:
# "1.x" always refers to the latest Go version, inc. the patch release.
# e.g. "1.x" is 1.11 until 1.11.1 is available.
- go: 1.x
env:
- LATEST=true
# - go: 1.7.x
# - go: 1.8.x
# - go: 1.9.x
# - go: 1.10.x
# - go: 1.11.x
before_install:
# gox simplifies building for multiple architectures
- go get github.com/mitchellh/gox
install:
- # skip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
# - go vet $(go list ./... | grep -v /vendor/)
- go test -v -race ./...
- CGO_ENABLED=0 gox -arch="386 amd64" ./...
deploy:
provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file:
- telegram-desktop-decrypt_darwin_386
- telegram-desktop-decrypt_darwin_amd64
- telegram-desktop-decrypt_freebsd_386
- telegram-desktop-decrypt_freebsd_amd64
# - telegram-desktop-decrypt_freebsd_arm
- telegram-desktop-decrypt_linux_386
- telegram-desktop-decrypt_linux_amd64
# - telegram-desktop-decrypt_linux_arm
# - telegram-desktop-decrypt_linux_mips
# - telegram-desktop-decrypt_linux_mips64
# - telegram-desktop-decrypt_linux_mips64le
# - telegram-desktop-decrypt_linux_mipsle
# - telegram-desktop-decrypt_linux_s390x
- telegram-desktop-decrypt_netbsd_386
- telegram-desktop-decrypt_netbsd_amd64
# - telegram-desktop-decrypt_netbsd_arm
- telegram-desktop-decrypt_openbsd_386
- telegram-desktop-decrypt_openbsd_amd64
- telegram-desktop-decrypt_windows_386.exe
- telegram-desktop-decrypt_windows_amd64.exe
on:
tags: true
condition: $LATEST = true