-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
36 lines (33 loc) · 1.63 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
language: go
go: [1.9]
sudo: false
cache:
directories:
- gui/node_modules
- vendor
install:
# from http://austinpray.com/ops/2015/09/20/change-travis-node-version.html
- make install-backend
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8.12.0
- npm -g install yarn
- make install-frontend
script:
- go get github.com/mattn/goveralls
- make coverage-backend
- goveralls -coverprofile=build/pkgmirror.coverage -service=travis-ci
- make test-frontend
- make build
deploy:
provider: releases
api_key:
secure: "br0UDyNOVuLwC8ZgYrKeOd4cWR1o9LlEoxhXQ8LhSCuWktf7lZy7mX7IZctzAeH26Fed9oVObCMHdwvkQw8Tg4m1eQ1UNKtrEODiEvKdMD4H4N3eOX9/k1xThaheTxkdv55U4ejwSHADkmftU03kLPoKMRgPB28G2ZJqruvO2DjuqJDG2co4yTRXY2G8n7g5vQn5BlIJoVcnGg9MCPt41wAEPvbX2tnLGvCMuHdGeKGe6cWyMbhuNkLXjsKfqdZBncFXloLxLdkBlnYBOdWOgpLsXdlQUCW4wDKmUxCiKK8rELQvB3vO87WjnO0k9UpBpjdBAj0KJYv0SOfmuMML1BmkQyV+MNR8V2/yFpX99u0q19mwVhaopSfwllABCa8zQmfnpmDHle8Qzz9b91kqosuwYMTBzuCKZW8zlMv+JNDrXVpwe0NSh4qrCj6klW+hFyGm2uegwnfADUXOhVnKUT45MX7u4nG3/netT2+mQ3GUM8XmsM6Nv3RvR7yx0S0i2SXxHwlSkUXurjVmgXs3lkC+AtC8h9oXxYKVqK2HEjw4u0ChkexbQ/EHDzk6ovRfcGu16rksIw+smHLcY/DcFG5f/dNcFntckZa97IUuAkuHchXT9Ogv3+0qFAqhZiyko2IY41qJTeIhmGVB9svEPsTcSFzj2jHPuNiycU1UMd0="
file:
- build/darwin-amd64-pkgmirror
- build/linux-amd64-pkgmirror
- build/linux-386-pkgmirror
- build/linux-arm-pkgmirror
- build/linux-arm64-pkgmirror
skip_cleanup: true
overwrite: true
on:
tags: true