-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (36 loc) · 1.48 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
os: linux
arch: ppc64le
dist: focal
sudo: required
services:
- docker
language: go
go:
- "1.18.x"
env:
- CONSUL_VERSION=0.7.5 GOMAXPROCS=4 GO111MODULE=on
install:
- git clone https://github.com/hashicorp/terraform.git
- cd terraform
#- git checkout 43c1ec69e2739ebb036a7fe871d9ff0bde4acc59
- curl -sLo consul.zip https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip
- unzip consul.zip
- mkdir -p ~/bin
- mv consul ~/bin
- export PATH="~/bin:$PATH"
script:
- go mod vendor
- bash scripts/gogetcookie.sh
- go mod verify
- make fmtcheck generate
- XC_OS=linux XC_ARCH=ppc64le bash scripts/build.sh
- cd bin
- ls
- sudo chmod 777 terraform
- ./terraform --version
notifications:
slack:
rooms:
- secure: "Okqs62AsJ2lcJ6NxJoAIsxLQ9yvKYzx2oKmokG260+fo3v8D+25qHVNkxbji0ZqaIWAdqbcy+lLvMAsOi9VulFt0tKjaPZ+1LfS0szPu6wpXnibFEQasouXcow17SRLra+0V6i+/IE6wIe6WnvhD7tf9Hw9+1J7Zafulz2wQXyIpx98XAV95C04s4yXe779khHEb14EQIZfWrMsb3L52ZhJ0urPoiOlSalIf1oslR9+M4SbN7xQYXddJBH2jBpJLFuJ26U9s7RO+bG9AT/4g0p1YcQnK0uRXnn5H7PdVyRZtnAb8/bJLmPv2S+sS0woHA9EUmnblYJGjL5qfIu0SNif64hNY5q82OYhbL6cGTpTBM6ilFnT8yuYjo/xX3338XBJPBugUoc6WOSt5BVbNtrZUAH1uCeXcSu79hISdp2YaG43kEYHs4eB+4/tdlk9pTZ0UpLMDBmtt4CrOAqk/yf1I5TZ//ccBunt48TVMo+ZbcglxbVwZIgkOfExIpMdS2dPbyzf/h6BmQFtV+fB+tmDVlyRub0JZScZvgnP/4rlA3lAtcRk/HdK0sI9dKThteeJDwhXE98RO8Q7wbG/ADoABUfRy6+YyiYTwKEyaEvFbXpHZbFHIZDHiDv73VQ4vsQfrGAwwkQEP3SEU18EsTE3ogEul6sSw3OPrWoGUKWs="
on_success: change
on_failure: change