signal-desktop/travis.sh

15 lines
236 B
Bash
Raw Normal View History

2017-05-06 06:16:07 +00:00
#!/usr/bin/env bash
set -e
2017-05-06 06:16:07 +00:00
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
fi
2019-08-19 22:26:45 +00:00
yarn test-node
yarn test-electron
NODE_ENV=production yarn grunt test-release:$TRAVIS_OS_NAME