forked from prbinu/tls-scan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.54 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
env:
- TLSSCAN_VERSION=`grep "Version" -m 1 $TRAVIS_BUILD_DIR/CHANGELOG | awk '{printf "%s", $2}'`
language:
- c
addons:
apt_packages:
arch:
- amd64
os:
- linux
- osx
compiler:
- gcc
script:
- "./build-x86-64.sh"
before_deploy:
- rm $TRAVIS_BUILD_DIR/tls-scan
- mkdir -p $TRAVIS_BUILD_DIR/tls-scan/man/man1
- cp $TRAVIS_BUILD_DIR/build-root/bin/tls-scan $TRAVIS_BUILD_DIR/tls-scan/tls-scan
- cp $TRAVIS_BUILD_DIR/build-root/share/man/man1/tls-scan.1 $TRAVIS_BUILD_DIR/tls-scan/man/man1/tls-scan.1
- cp $TRAVIS_BUILD_DIR/build-root/etc/tls-scan/ca-bundle.crt $TRAVIS_BUILD_DIR/tls-scan/ca-bundle.crt
- tar -zcvf tls-scan-${TLSSCAN_VERSION}-${TRAVIS_OS_NAME}-${TRAVIS_CPU_ARCH}.tar.gz ./tls-scan/
deploy:
provider: releases
api_key:
secure: n2QhVYiWUZqNxx/jmq4rCLgEjZYvr5M6I6fZ5/Sr4aCIOlIRNtrm1Z+cmUxmrEoP3TCmFHXOWV1kjTKSphVZDPzOlFALaY4VMUoTUCNwcVMTrYAgYnaLagXozGDEkWqYcGvyTXir1PQ9+Yk1dkUqbHgHV1BmccYSO97tBQkFcAGMdpcqto0pjQsbf554ILtjZF4ssCyDQNYLeWsuA8tF0pnEwJgUlQDpPn861vAaqInw/DvoKlGfkKWznoiYifpI0R1XqfdYdCmf/X/gqgfBkcHox6E0Q293SLbNLJUVtO1pfozurj+bQopHZ6+I4oaS8G/MxlH0TO/63pEu/TY/VE4OKdMFu/3zJFmpChvA+RFH2/fkAcqgx6yOIHFj0R3XONRSUU0coAxgfm9MS6DbrluquqYIl+7uTyAvWrq84r1Ef4Yd4MgCiIqMfqcA78sRqW9o9/e5EGsrKNpX8HgSriCN4KziOauqf1mhVgiM1eeY10h6onA1Pw1nemx9R++jpET4frIU0VNNBYMn5gdhQr7vxcROs0GmGpmG8B1/a8kjlTWCnD3ZdWo+YAJ1gd3UeosHaJyOmvlOmFP9x1/EvYjVgluC3+WS/+F6f/l/NKfWenzG5wXCu4fKYpyRJcPM5IeOyd1OqFRzzsoB/Toc1m/k44/Mu3POTFS096CsTw8=
file: tls-scan-${TLSSCAN_VERSION}-${TRAVIS_OS_NAME}-${TRAVIS_CPU_ARCH}.tar.gz
skip_cleanup: true
on:
repo: prbinu/tls-scan
tags: true