-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
37 lines (29 loc) · 1.36 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
language: go
go: 1.14
before_install:
- make dep-dev
install:
- GOOS=linux GOARCH=amd64 make --debug EXECUTABLE=pxe-pilot-linux-amd64
before_script:
- test/scripts/install-tools.sh
- test/scripts/install-bats.sh
- test/scripts/install-mocks.sh
- test/scripts/install-service.sh
script:
- test/run.bats
after_success:
- GOOS=linux GOARCH=arm make --debug EXECUTABLE=pxe-pilot-linux-arm
- GOOS=darwin GOARCH=amd64 make --debug EXECUTABLE=pxe-pilot-darwin-amd64
after_failure:
- cat test/test.log
deploy:
provider: releases
api_key:
secure: NOlitwe+OTHhUHwKTDrux2aUkyvvz/AC6Xjtb1uFM6f7x26XyeGp0DPgPPSaGIxJKXKxnSSVd03GS2oZ6LnUcwASWhkizd0d91IiGNfmsdUYvc+x/kuPGBNUqEkHmi/YswBXak8ZFE75ci3VYtdGP6j2Sjp/tjO0sHqjj5wyaD3rhnNvjdrBWftC3TPNACM856y2Yn/Fb2zXTyCnEtURl7XfZHyYDLDFmWVgI5igtYIbFJ9F9iF4oHPT2cXMKJvgMIROH0gdEwiVx32+bnuBu2NmHVab3/8g54b0RJg39MnBd0KPVJ2dxue92KmEEpA6tqS1QxohAqTGlU1uVqHlPvxN5jLfjkaewW+ICGQ85zWYij72KbG+VoJuurvb5DD/ajHdnX2dv4olQKJw+7YpgtNI8zrjXRoQCCzeq50vJspbkxYEWeG5loGefpnMwcRZfF8qKJMioHOZvXmbDz5s5jP4Svw6ASpAq9tkDKcwiMpb3HtFVA6X8fqV/MEyMNgXVQUVeNQqDyfqDtBrqwKySvEUyvpsSYA1lzakx8KejsIwhpNhvCUSL6xRq3qpv7i2hiReXNycXnA7t7flUn6ZMtUVNFuBHICwO/6e+ISVKhmzLAKo/WiRLr/o+9xHWTSBvIkbASxezhvjxQqEsTBCUjnU6/18eRR7nadNbrHPw8c=
skip_cleanup: true
file:
- pxe-pilot-linux-amd64
- pxe-pilot-linux-arm
- pxe-pilot-darwin-amd64
on:
tags: true