提交 807f38ea 编写于 作者: B Benjamin Pasero

try to enable integration tests for linux

上级 6505ab44
......@@ -26,7 +26,9 @@ before_install:
- npm config set python `which python`
- npm install -g gulp
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9";
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
install:
......
......@@ -19,11 +19,4 @@ else
fi
# Integration Tests (currently not enabled for linux because of missing display)
# if [[ "$OSTYPE" == "linux" ]]; then
# export DISPLAY=:99.0
# sh -e /etc/init.d/xvfb start
# sleep 3
# fi
if [[ "$OSTYPE" == "darwin"* ]]; then
./scripts/code.sh $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out
fi
\ No newline at end of file
./scripts/code.sh $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册