signal-desktop/travis.sh
2019-08-21 14:55:12 -07:00

14 lines
236 B
Bash
Executable file

#!/usr/bin/env bash
set -e
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
fi
yarn test-node
yarn test-electron
NODE_ENV=production yarn grunt test-release:$TRAVIS_OS_NAME