diff --git a/.gitignore b/.gitignore index 704bf869aa0b..593f771cfab8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ npm-debug.log **/.mypy_cache/** !yarn.lock coverage/ +.vscode-test/** diff --git a/.travis.yml b/.travis.yml index 366160766dc1..e6f1009e15e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,21 +3,10 @@ cache: pip matrix: include: - # # Use the built in venv for linux builds - os: linux python: 2.7 - os: linux python: 3.6 - # # # Use generic language for osx - # - os: osx - # language: generic - # env: PYTHON=2.7.10 - # # Use generic language for osx - # - os: osx - # language: generic - # env: PYTHON=3.6.1 -# Perform the manual steps on osx to install python 2.7.1 and 3.6.1 and set it as the global interpreter. -# This way when the node unit tests will pick the right version of python (from global) before_install: | if [ $TRAVIS_OS_NAME == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; @@ -29,10 +18,8 @@ before_install: | source ./.nvm/nvm.sh nvm install 8.9.1 nvm use 8.9.1 - if [ "$TRAVIS_OS_NAME" == "osx" ]; then - pyenv install $PYTHON - pyenv global $PYTHON - fi + yarn global add vsce + yarn global add azure-cli export TRAVIS_PYTHON_PATH=`which python` install: - pip install --upgrade -r requirements.txt @@ -53,3 +40,9 @@ script: - if [ $TRAVIS_UPLOAD_COVERAGE == "true" ]; then bash <(curl -s https://codecov.io/bash); fi +after_success: + - if [ $AZURE_STORAGE_ACCOUNT ]; then + yarn run clean; + vsce package; + azure storage blob upload --container $AZURE_STORAGE_CONTAINER --blob ms-python-insiders.vsix --account-name $AZURE_STORAGE_ACCOUNT --account-key $AZURE_STORAGE_ACCESS_KEY --file python*.vsix --quiet; + fi diff --git a/.vscodeignore b/.vscodeignore index 4a65b5793d27..b70e27f38e51 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -1,4 +1,5 @@ .vscode/** +.vscode-test/** typings/** out/test/** out/src/** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f608aac69d39..535c80d81f9a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -224,3 +224,17 @@ the micro version is how many releases there have been that month in the year (starting at 0). For example, the first release in July 2018 would be `2018.7.0`, the second release that month would be `2018.7.1`, etc. + +### Insiders Build + +Starting in 2018, we started publishing the latest development +build of the extension onto a cloud storage provider. +If you are interested in helping us test our development builds or would like +to stay ahead of the curve, then please feel free to download and install the +extension from the following [location](https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix). Once you have downloaded the [ms-python-insiders.vsix](https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix) +file, please follow the instructions on [this page](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix) to install the extension. + +The insiders build of the extension: +* Will get replcaed with new releases published onto the [VS Code Marketplace](https://marketplace.visualstudio.com/VSCode). +* Does not get updated with new insider build releases. +* Is built everytime a PR is commited into the [master branch](https://github.com/Microsoft/vscode-python).