signal-desktop/travis.sh

14 lines
221 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
yarn test-electron
NODE_ENV=production yarn grunt test-release:$TRAVIS_OS_NAME