forked from openfaas/faas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (38 loc) · 1.65 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
sudo: required
language: go
go:
- "1.9"
services:
- docker
addons:
apt:
packages:
- docker-ce
before_install:
script:
- ./build.sh
- ./contrib/ci.sh
after_success:
- if [ -z $DOCKER_NS ] ; then
export DOCKER_NS=openfaas;
fi
- if [ ! -z "$TRAVIS_TAG" ] ; then
docker tag $DOCKER_NS/gateway:latest-dev $DOCKER_NS/gateway:$TRAVIS_TAG;
echo $DOCKER_PASSWORD | docker login -u=$DOCKER_USERNAME --password-stdin;
docker push $DOCKER_NS/gateway:$TRAVIS_TAG;
docker tag $DOCKER_NS/gateway:latest-dev quay.io/$DOCKER_NS/gateway:$TRAVIS_TAG;
echo $QUAY_PASSWORD | docker login -u=$QUAY_USERNAME --password-stdin quay.io;
docker push quay.io/$DOCKER_NS/gateway:$TRAVIS_TAG;
fi
deploy:
provider: releases
api_key:
secure: "SVwbfJO008Z4TCcGPyjIPsOUcN+W9k8Pi4CFRFznskCd+qXbZd/so72ZdBSDUhR/s1U1+NrrVq43fW18aOI6YdPJgSOU1dJyR+EX5833U+B5yIosjEd0PiU9zcby8BB2k/RIEXgu/qWg7DzeZB50Jd8YOJqW5j8qX9qdl5GI09+8siGCUgoiXRquv/VC2Ucdh+V/+Twlm0ytC9IcvIuww5dhJQUsKGLfNRcykioG/RWnqNoJZ5afZ0s/FgOEO4fVmklMRQq5+07Jnub1HW308lvXiO7Utre4c8n8mOTjHxaNbroHggsdq/8KyPIHLukqc1t0iY7GdutangbY14YVcykZ3XcoCfT660Rtz/RfxEiVsrJ8rdjCLIKypw2wAKM1ZH+i6vdYVm+RAoMO83Qsxbfd+NFaS2UMSU+woPHWJ28oeeoPx0Vt3h2K+J6fWMVg5CBb7cN0TMcSFTZpJSgudnGj1k8P4hTms6Ey+gOolBqcJhwcrAvAVfpNcdiPPDkH2N7ME57Dolr80eAr09fpoaIffHFj71syItEAjBC60X30HzUsf+lyGh8gG9R2yAjMSLksrzSyvta6vWlVBNenxpIJdXi6E/JYCamQule4eNajjNU3Yeyzhy4OD4KTAXvadmvsmRaFS7HOS8kBMWEwLHUw61TyG2+1crveYqhJHOs="
file:
- ./watchdog/fwatchdog
- ./watchdog/fwatchdog-armhf
- ./watchdog/fwatchdog-arm64
- ./watchdog/fwatchdog.exe
skip_cleanup: true
on:
tags: true