tabby/travis.sh
Eugene Pankov 44b4f5ccf8 wip
2018-08-18 21:47:11 +02:00

15 lines
341 B
Bash
Executable File

#!/bin/bash
set -ev
yarn install
scripts/install-deps.js
scripts/build-native.js
yarn run build
scripts/prepackage-plugins.js
scripts/build-$BUILD_FOR.js
if [ "${STAGE}" = "deploy" ]; then
docker run -v $(pwd):$(pwd) -t snapcore:snapcraft sh -c "apt update -qq && cd $(pwd) && snapcraft && snapcraft push dist/*.snap --release edge"
fi