| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| language: python |
| sudo: required |
| |
| addons: |
| apt: |
| packages: |
| - openjdk-8-jdk |
| |
| env: |
| global: |
| - IGNITE_VERSION=2.9.1 |
| - IGNITE_HOME=/opt/ignite |
| |
| before_install: |
| - curl -L https://apache-mirror.rbc.ru/pub/apache/ignite/${IGNITE_VERSION}/apache-ignite-slim-${IGNITE_VERSION}-bin.zip > ignite.zip |
| - unzip ignite.zip -d /opt |
| - mv /opt/apache-ignite-slim-${IGNITE_VERSION}-bin /opt/ignite |
| - mv /opt/ignite/libs/optional/ignite-log4j2 /opt/ignite/libs/ |
| |
| jobs: |
| include: |
| - python: '3.6' |
| arch: amd64 |
| env: TOXENV=py36 |
| - python: '3.7' |
| arch: amd64 |
| env: TOXENV=py37 |
| - python: '3.8' |
| arch: amd64 |
| env: TOXENV=py38 |
| - python: '3.8' |
| arch: amd64 |
| env: TOXENV=codestyle |
| - python: '3.9' |
| arch: amd64 |
| env: TOXENV=py39 |
| |
| install: pip install tox |
| script: tox |