2017-05-06 06:16:07 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-05-16 00:55:48 +00:00
|
|
|
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
|
2017-05-16 00:55:48 +00:00
|
|
|
|
2019-08-19 22:26:45 +00:00
|
|
|
yarn test-node
|
2018-04-10 21:47:25 +00:00
|
|
|
yarn test-electron
|
2017-05-16 00:55:48 +00:00
|
|
|
|
2018-04-10 21:47:25 +00:00
|
|
|
NODE_ENV=production yarn grunt test-release:$TRAVIS_OS_NAME
|