mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
try to enable integration tests for linux
This commit is contained in:
parent
6505ab448b
commit
807f38ea80
|
@ -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
|
||||
./scripts/code.sh $ROOT/extensions/vscode-api-tests/testWorkspace --extensionDevelopmentPath=$ROOT/extensions/vscode-api-tests --extensionTestsPath=$ROOT/extensions/vscode-api-tests/out
|
Loading…
Reference in a new issue