This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
44 lines (44 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
37
38
39
40
41
42
43
44
go_import_path: github.com/skbkontur/frontreport
language: go
sudo: false
git:
depth: false
go:
- 1.11
addons:
apt:
packages:
rpm
install:
- gem install fpm
before_script:
- make test
script:
- make prepare
- make rpm
before_deploy:
- export PACKAGE_NAME=$(ls build/frontreport-*.x86_64.rpm | tail -n1)
deploy:
- provider: releases
api_key:
secure: QfmRZVhnvsk+Z+vCjVFz/8PjXo7jKR8U9UOJlmDWRQEt3+QSkSApzxDEYGy4K7YvThf4kHjQpKDqm9E6apdd0SRoJ8ybnssBJ8B22m01I3lY9pJjZdRhMzqW7a5q6tJ7crHPKSqKusb4knEVL2rga0UMrG4KAvbH1Rx9a5xG2PqD0ZUtfDotyt1CuYk3t0vxfOEbPGmkWTf1L3U8rluFq3pXmdwrxhAblCVVNiALTo1NogG1w9pWP6TyJY+ElUnV17tlZil+z/ASENKESuIRPPBMXvhubAajWWdMogR8a3PolwFQmJAUbGPzu6VSwWmsQCtKFSbquLSxVH/Ue7yz6sApsd8UKW+Y5+XTvYLnjJjxDsozek7ENlIrS7EqPxy+Jd185CbuJ92kDucsKBPxun9iyNzoO1OYVPcS5Ft4MAoQ3EafNVq2eW2FJ/ywbeYpkARx3J7ldIyvwN2toH9uVPsBv7aD5O5vFQUyS/jmcFV+KlrqDqnBeI6RAbC3lwbpteU3Oh5U06TFNH/py9DSRN4S+WYIp/epiUnGItjZXmE8rw8AHV3D0YN+6GgszfaV8iEXEViu0HdKA8PnwC2Om+TOJgQDPkwUi0kqveO6pXRaFt0G4GHyO62b7c1eysSMP0ArTlDkeFASX9BjC9JW1+mnFIa5qeqGZlXEulsxmnc=
file_glob: true
file:
- build/frontreport
- build/frontreport*.rpm
skip_cleanup: true
on:
repo: skbkontur/frontreport
tags: true
- provider: script
script: "curl -sS --fail -F \"uploadfile=@${PACKAGE_NAME}\" -H 'token: ${UPLOAD_TOKEN}' \"${UPLOAD_URL}\""
skip_cleanup: true
on:
repo: skbkontur/frontreport
branch: master
- provider: script
script: "curl -sS --fail -F \"uploadfile=@${PACKAGE_NAME}\" -H 'token: ${UPLOAD_TOKEN}' \"${UPLOAD_URL}\""
skip_cleanup: true
on:
repo: skbkontur/frontreport
tags: true