Commit e367dac2 by Mithgol

remove `sleep 3`

The following `npm install` takes more than 3 seconds anyway; `xvfb` would already start before it becomes necessary for node-webkit.
parent 9c555c35
...@@ -36,7 +36,7 @@ before_script: ...@@ -36,7 +36,7 @@ before_script:
- if [[ `git describe --contains $( git rev-parse HEAD )` ]]; then echo yes;PUBLISH=true; fi; - if [[ `git describe --contains $( git rev-parse HEAD )` ]]; then echo yes;PUBLISH=true; fi;
- if [[ $PUBLISH == true ]]; then node-pre-gyp package publish; fi - if [[ $PUBLISH == true ]]; then node-pre-gyp package publish; fi
# for testing node-webkit, launch a virtual display # for testing node-webkit, launch a virtual display
- if [ "$NODE_WEBKIT" != "" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi - if [ "$NODE_WEBKIT" != "" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
# note: `sleep 3` gives xvfb some time to start # note: `sleep 3` gives xvfb some time to start
script: script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment