session-desktop/travis.sh
2017-09-14 16:53:47 -07:00

14 lines
188 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
grunt test
grunt test-release:$TRAVIS_OS_NAME