Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Fix osx hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
Crecket committed Mar 25, 2018
1 parent df494eb commit be14d94
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ matrix:
services: docker
language: generic

addons:
apt:
packages:
- ucommon-utils

cache:
directories:
- node_modules
Expand Down Expand Up @@ -43,10 +48,13 @@ script:
after_script:
- ls dist
# Remove build files and display md5 hashes
- apt install ucommon-utils
- rm -rf dist/linux-*
- sha256sum dist/*
# Display sha256 hashes
- |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
find dist -type f -maxdepth 1 -print0 | xargs -0 shasum -a 256
else
sha256sum dist/*
fi
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
Expand Down

0 comments on commit be14d94

Please sign in to comment.