forked from goss-org/goss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (51 loc) · 2.51 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
---
env:
global:
- secure: IH/xOtRl9rcek+YTz1s2lv2njdV1gob0AY21/kGhqUBH2sdztQ/02CteGz5E0c+LfqoUYQglLsejVCNLXQJI39CyZRzysB1wlVOz7YIPNaOLATtMGg0/8Mb7dpeqAV1u3agIi87q3ims1EkmGE9UGNj/qL75oTXBiozEfkbcsheH3Ju9CcO0i006UlNqAG4T++l1JZ4kPmr1r5eNjRu52oWQrlxaOYpZJGnT3qjxkvxcnI/Pgiem0+2aZ7Yluu0lA7UCFWyORoDRUz4pQR3uDG4ADPG4WcpJ601LDZyWtS7EOXVBgWZX9vV9ZVx63nK5w0W8NN6PQOuz0niN9iwR+FsShrPIsh6P9wVZfGifwXK4g2FL2XMBRuZCsQfrpRY6JbnuyGeMqN53ta95y0Yv4H65UQ7bulr4Lnic4+W52G/fl1VUYX8Bts+ecUydIu+afcDZ6GkpVLEURjaek99uO5ewHH7lfVAOQv4wUP8GFUyLXJumJZHvMzyiAXsTHdUZdm+Ap8EPzWFYYnMxySU39MEkIvhfG47X6sA7zAppuoNwd8vU4ZaxSdsme2InUSalETGJZ7ohL+M/tkTMyuyq8uLMRuwscNdgcCjGaHM19NQMrv4nsPmmzTeiDRoFk2wad07Mgsjy07esxw52rs3zAsa37+h74GYFWYo523AiYjw=
language: go
go:
- 1.17.x
os:
- osx
- linux
- windows
dist: trusty
osx_image: xcode12.2
services:
- docker
before_install:
- if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then choco install make; fi
# bash from macOS is too old to have readarray. Install newer version.
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install bash; fi
install:
- ./ci/install.sh
before_script:
- ./ci/before-build.sh
script:
- ./ci/build.sh
after_script:
- ./ci/after-build.sh
deploy:
provider: releases
api_key:
secure: nPeixJfnxE94mJizq864tqtwYsbDD/pJ/zvlG2iv2y2Ixx9kqtWTWrjQ/J4n+lmSag1WLYvCWf/pc6u2nYrWX0ycYkpjy9zNUgF8Pc+ixzB2K/KjTIhclX6bOOzkrOsJbylC8d2trsJ1MSgMUxLknCY6lDE+I3J3xFGweo3sfTaRWKMHwJLMlkARZg/WYUlfW7qa8Wg6ll3Ty5q+0+uRKiHRcey8cSq/dh3u5RN8pTMljDvcbtw05sQCDfv9Kf3Q+LVEj3wm+EnRF7KLafaIcAjsPtB+/mnMPBZ4g3aGNjDwbh80Giunc0oK9Ji/v6WaBwCHZlrCL+HdF1l36HqrN6dJPwuPjncysyyvu0y8pS+fA1Vd39BsUOn4xqVU6msfPEn8ObVGt5B5oM1DZPD21UpQoMTOCOCHUF9t4VL3Y2K6eLNiE8jzhwp0j3fXTffDP9pnht3a+3OY5dQTECIg9TLU9uo+5xK9vhUJ4Mqj5I+FpEhEq4S6nwrxUP56SpDV89QPfmMOJP2+j68xw78GVnYhJ6SjxaLu5zTnfTV3dPiclRUWcjxeVgtnhMOm7zV1iuFiS8AcxkijwfjD7nXAbywbdss/UPoa9scb3df2P8umo2WE3q1qnSFsU8ThNBoQ2fMbKnW4k3GLrw14FhK/8lHyCqiiDrC6Jdrf2HeCRjY=
file:
- release/goss-alpha-darwin-amd64
- release/goss-alpha-darwin-amd64.sha256
- release/goss-linux-amd64
- release/goss-linux-amd64.sha256
- release/goss-linux-386
- release/goss-linux-386.sha256
- release/goss-linux-arm
- release/goss-linux-arm.sha256
- release/goss-linux-arm64
- release/goss-linux-arm64.sha256
- release/goss-alpha-windows-amd64.exe
- release/goss-alpha-windows-amd64.exe.sha256
- extras/dgoss/dgoss
- extras/dgoss/dgoss.sha256
skip_cleanup: true
on:
repo: aelsabbahy/goss
tags: true
condition: $TRAVIS_OS_NAME = linux