fomu-toolchain/.travis.yml
Andy Boyett 3f5b33c43a build: generate checksums for build files
SHA1, SHA256, and SHA512 checksums are now generated (and uploaded to
releases) for toolchains on all arches. This will allow checksums of
artifacts to be verified as coming from CI. This is particularly useful
during Fomu workshops where the toolchain is distributed on USB drives
to work around local bandwidth limitations.

`set +x` is used to clean up the output by disabling the echo of
commands while checksum calculation is performed and enabled again with
`set -x` once checksums calcs are complete.
2019-08-23 15:32:11 +02:00

33 lines
1.2 KiB
YAML

language: minimal
matrix:
include:
- env: ARCH=windows
- env: ARCH=macos
- env: ARCH=linux_x86_64
addons:
apt:
packages:
- unzip
- zip
install: skip
script: ./build.sh
deploy:
provider: releases
api_key:
secure: "w/Ke1MTa3S97NEwcnsuqdSmH8Dvc+QE/JYpYjX+1UmB+rH/bTvlad3GZfRJN1sabah4ld+rINccAC9GPaYEz7dFuwaGKYg4RWgJ/i9gvytDJkDYASiHmc9JFDAivdkh/P3gA2zTH6STFzfzf7mPSpVbrQ5oxdZH98+USRBwB/7XUKxYNaPLUVO9HFlu1/LMHR7BZWozooSPtFaFxBNo+g8Uy22xs8yunndoprx3emGyWYD2qlSOJPV68/vNU9IL0FbrTDXMPtu3ALbavDFPGyt8Y8p43wxKrw4DIUKaIEV33r7uMOK67TGD5xggqSf7Jj+quDZIkgof+wRR4wrNeu9aXQMapMKgMiuFLlHJD2JvCpGZ/3yUCt/WaTXTnU2WhKZAJjiVG5WKO+RwkqKPypDqRgrBQCb8jqr5mK98CDM26jFRaMHHzlcmddPdby+hvhznZEUeIptx+S+bek2szd+Rxr4V/mLEeAeS6h9hIItEZkj6AhbaNRDL2N0/7P4mUIkrWVPq73FbddHF0NJASy1v4LZMge0tNMJF5duubURXyTjpUpPCwQWpxXfSs5l1KdkU00rdWiamJ/02Vavp04h1yTdjwoLaNtdyZQ7BY9DAKDfcEKRusY5fazuGjFw94Gi1UFUsEKaeu3ztyJmuLvHQgV7cW8XaOmRJRIQUgklQ="
file:
- output/*.tar.gz
- output/*.zip
- output/*.sha1
- output/*.sha256
- output/*.sha512
file_glob: true
skip_cleanup: true
on:
repo: im-tomu/fomu-toolchain
all_branches: true
tags: true
branches:
only:
# Release tags
- /^v\d+\.\d+/