forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
environment: | ||
matrix: | ||
- PYTHON: "C:\\Python36" | ||
PYTHON_VERSION: "3.6.3" | ||
PYTHON_ARCH: "32" | ||
nodejs_version: "8.9.1" | ||
TRAVIS: "true" | ||
|
||
init: | ||
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm i -g yarn | ||
- yarn | ||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
- pip install -U pip | ||
- python --version | ||
- python -m easy_install -U setuptools | ||
- "%PYTHON%/Scripts/pip.exe install --upgrade -r requirements.txt" | ||
|
||
test_script: | ||
- yarn run clean | ||
- yarn run vscode:prepublish | ||
- yarn run testDebugger --silent | ||
- yarn run testSingleWorkspace --silent | ||
- yarn run testMultiWorkspace --silent | ||
|
||
build: off |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
import { activated } from '../../client/extension'; | ||
import { initialize } from '../initialize'; | ||
|
||
// NOTE: | ||
// We need this to be run first, as this ensures the extension activates. | ||
// Sometimes it can take more than 25 seconds to complete (as the extension looks for interpeters, and the like). | ||
// So lets wait for a max of 1 minute for the extension to activate (note, subsequent load times are faster). | ||
|
||
suite('Activate Extension', () => { | ||
suiteSetup(async function () { | ||
// tslint:disable-next-line:no-invalid-this | ||
this.timeout(60000); | ||
await initialize(); | ||
}); | ||
test('Python extension has activated', async () => { | ||
await activated; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
X=1 | ||
Y=2 | ||
PYTHONPATH=/usr/one/three:/usr/one/four | ||
# Unix PATH variable | ||
PATH=/usr/x:/usr/y | ||
# Windows Path variable | ||
Path=/usr/x:/usr/y |