This repository has been archived by the owner on Mar 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
77 lines (73 loc) · 2.24 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
language: go
matrix:
include:
- os: osx
osx_image: xcode7.3
go: "1.11.x"
env: HOMEBREW_NO_AUTO_UPDATE=1
addons:
homebrew:
taps:
- go-task/homebrew-tap
packages:
- go-task
update: true
before_script:
- go get -u -v github.com/UnnoTed/fileb0x
- go install github.com/UnnoTed/fileb0x
- os: osx
osx_image: xcode7.3
go: master
env: HOMEBREW_NO_AUTO_UPDATE=1
addons:
homebrew:
taps:
- go-task/homebrew-tap
packages:
- go-task
update: true
before_script:
- go get -u -v github.com/UnnoTed/fileb0x
- go install github.com/UnnoTed/fileb0x
- os: linux
dist: precise
sudo: required
go: "1.11.x"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
before_script:
- wget https://github.com/go-task/task/releases/download/v2.2.0/task_linux_amd64.deb
- sudo dpkg -i task_linux_amd64.deb
- go get -u -v github.com/UnnoTed/fileb0x
- go install github.com/UnnoTed/fileb0x
- os: linux
dist: precise
sudo: required
go: master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
before_script:
- wget https://github.com/go-task/task/releases/download/v2.2.0/task_linux_amd64.deb
- sudo dpkg -i task_linux_amd64.deb
- go get -u -v github.com/UnnoTed/fileb0x
- go install github.com/UnnoTed/fileb0x
script:
- task build
after_success:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/ee0c1b3ff5b353178248f944f4aaeeff26fb9eb4/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/ee0c1b3ff5b353178248f944f4aaeeff26fb9eb4/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL