14 lines
236 B
Bash
Executable file
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
|