Skip to content

Commit

Permalink
Adds deploy config to travisci
Browse files Browse the repository at this point in the history
  • Loading branch information
targodan committed Nov 12, 2020
1 parent d1a1c0c commit 92652da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,25 @@ script:
- go build -trimpath -o ../../build/yapscan
- popd
- ./buildForWindows.sh

before_deploy:
- pushd build
- 7z a yapscan_windows_amd64.zip yapscan.exe yapscan.dll
- 7z a yapscan_linux_amd64.zip yapscan
- tar -cvzf yapscan_windows_amd64.tar.gz yapscan.exe yapscan.dll
- tar -cvzf yapscan_linux_amd64.tar.gz yapscan
- popd

deploy:
provider: releases
skip_cleanup: 'true'
api_key:
secure: SEqzkWiVZTZlK3FvJGku7a10rMVqSPTakdAP2M7p6z+S2SE3yRI4R4aiH3t73Yt2nDPGrW1ie43EsJ0WcPIIVaSHUArNBwdyoGRBtdAq461ZSwsskuMLVz28SreyiTwEb4cmRrx5eggGyAoO6kzuGyBVdnBY8Bzxtj0CVV/qeHxvvD6ARYxBQtq6izomd4hoMnCRKNApIUDFbLo2gnF4YOuAMgi45ALe5jchSHPESsa/e8x2e13WEOCIwmiHxRR4EXS/oOxr8kO792HEa324V7uPE1HaIH3z7fBWWcUMXJZSAYynbzsC2WAHzWgIcFHyqVUcs6IKMU8rweJcNNDIVrC/zY7Jm4/aEdyy/Kq3iReuSUkvv9HY0C+CGf8RK/7x/1LolYXDnXGIeEXF/dkqE4p/bOCKrlW8TePoEf8zUlSiZRd0+XdodyxrbjFdx0E5kePxLGeqkopfR/ubKN5DJY93ueFsVlKYGpWLOKxtZTJoxEcwhSm1EF2Lsd77+xySjeJbh00Ozu51C7lu8Obn4wzWCVLDnlt3X5pSqYEHKphIfVYr21LPD9uQc++XR7IfPQG/Gnz/CTBEGvwTYm29jaD0m5e1pshL5nr5lhCOQIH4iZWSmoCwa8GP3Kbix9tYtPAdOkd6crz3vj0EUEWmd9ioEutTOL3wduGzNTcBvXM=
file:
- build/yapscan_windows_amd64.zip
- build/yapscan_windows_amd64.tar.gz
- build/yapscan_linux_amd64.zip
- build/yapscan_linux_amd64.tar.gz
on:
repo: fkie-cad/yapscan
tags: true

0 comments on commit 92652da

Please sign in to comment.