CI¶
Example configuration, required to use python on CI servers.
Appveyour¶
To make plugin work on appveyour you'll need to add python to path:
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
PYTHON: "C:\\Python36-x64"
install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- python --version
Now plugin would be able to find python binary.
To use python 3.9 you'll need to switch image:
image: Visual Studio 2019
See available pythons matrix for more info.
Travis¶
To make plugin work on travis you'll need to install python3 packages:
language: java
dist: bionic
jdk: openjdk8
addons:
apt:
packages:
- python3
- python3-pip
- python3-setuptools
before_install:
- python3 --version
- pip3 --version
- pip3 install -U pip
It will be python 3.6 by default (for bionic).