-
Notifications
You must be signed in to change notification settings - Fork 240
/
.travis.yml
37 lines (37 loc) · 2.02 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
services:
- docker
matrix:
include:
- language: go
go:
- 1.11.x
before_script:
- mv ../../XiaoMi ../../xiaomi
- cd ../../xiaomi/naftis
script:
- make fmt lint vet build.api
- if [ -n "$TRAVIS_TAG" ]; then make docker.api docker.login push.api; fi
- language: node_js
node_js:
- 8
script:
- make build.ui
- if [ -n "$TRAVIS_TAG" ]; then make docker.ui docker.login push.ui; fi
before_deploy:
- make release
deploy:
provider: releases
file:
- manifest.tar.gz
overwrite: true
skip_cleanup: true
on:
tags: true
api_key:
secure: FWZaLrqb64r2FXPAbfVR0zCQ14IIskkl051fGcpiYWE1eObSUXWdfhHfreFl4vQw8OYd52XcbeeoVFdE9+51s5rUm87VDkdxlpAuZqi2TC43tNsC+FdFGhGfMnmUEPIQJyBt1T4REK5OpKOLvO7bJp3Dm0MNNDM5Jpwcy9aY9wVE6i+qsyRBQtMB/npR3OQPMzja/AeVrsiNg6sxbuQ+FPyQSW2a3oefcTBGj0GhEsOGQm9UDKPLRHx650KTVnRD5l1yftlbd32B7j400GnWoGBkhPWGLskh53srfRZofp3IUcxrQdr74qBI+D7ajnNn0lYlN5ltVscKHxTEjJmb0XSHPnp73QXm3LiS2+z6Ny0Pob36nGvlOFSs7whY3JQGMyJZuqvpqbIPuorJh02u4z542jxkLhZCPRQdhUmTafpTpK2Chd75q6njPMLTIIUj4OtzsIfc6PYAezEa7IYYA1/Co13bOx0hpjC0HX6cwn7PFdORYgNHpFqhYUnSVYqTfSPzHyLf8aDqiEpAjKFaY3d+I0tVBfEsnMejLTOrFUB7EDZ+U4N4/grZf2pwUOjTtf1uiPChBtF+pmn2uiRcI5iww6nfOPnBowVVkBO6p4MgCnf2LihKjqXg75R4I60pb5abwRP1vEeXJKXdqPMqC09VUQQ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