Fix linux
// FREEBIE
This commit is contained in:
parent
ab8edd8690
commit
9a1e0dcdb3
2 changed files with 9 additions and 1 deletions
|
@ -10,7 +10,7 @@ install:
|
||||||
script:
|
script:
|
||||||
- yarn run generate
|
- yarn run generate
|
||||||
- ./node_modules/.bin/build --em.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
|
- ./node_modules/.bin/build --em.environment=$SIGNAL_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --publish=never
|
||||||
- grunt test-release:$TRAVIS_OS_NAME
|
- ./travis.sh
|
||||||
- yarn test
|
- yarn test
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
8
travis.sh
Executable file
8
travis.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
export DISPLAY=:99.0
|
||||||
|
sh -e /etc/init.d/xvfb start
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
grunt test-release:$TRAVIS_OS_NAME
|
Loading…
Add table
Add a link
Reference in a new issue