Signal-Desktop/travis.sh

15 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