Skip to content

WIP: Restructuring all builds (NOT TO MERGE) #30583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
21 changes: 2 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,17 @@ matrix:

include:
- env:
- JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not network)"

- env:
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="(not slow and not network)"

- env:
- JOB="3.6, locale" ENV_FILE="ci/deps/travis-36-locale.yaml" PATTERN="((not slow and not network) or (single and db))" LOCALE_OVERRIDE="zh_CN.UTF-8" SQL="1"
services:
- mysql
- postgresql

- env:
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36-cov.yaml" PATTERN="((not slow and not network) or (single and db))" PANDAS_TESTING_MODE="deprecate" COVERAGE=true SQL="1"
- JOB="extended" ENV_FILE="ci/deps/extended.yml" PATTERN="(not slow and not network)" SQL="1"
services:
- mysql
- postgresql

# In allow_failures
- env:
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow" SQL="1"
- JOB="extended_slow" ENV_FILE="ci/deps/extended.yml" PATTERN="slow" SQL="1"
services:
- mysql
- postgresql

allow_failures:
- env:
- JOB="3.6, slow" ENV_FILE="ci/deps/travis-36-slow.yaml" PATTERN="slow" SQL="1"

before_install:
- echo "before_install"
# set non-blocking IO on travis
Expand Down
47 changes: 19 additions & 28 deletions ci/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,48 +9,39 @@ jobs:
strategy:
matrix:
${{ if eq(parameters.name, 'macOS') }}:
py36_macos:
ENV_FILE: ci/deps/azure-macos-36.yaml
CONDA_PY: "36"
latest:
ENV_FILE: ci/deps/latest.yml
PATTERN: "not slow and not network"

${{ if eq(parameters.name, 'Linux') }}:
py36_minimum_versions:
ENV_FILE: ci/deps/azure-36-minimum_versions.yaml
CONDA_PY: "36"
latest:
ENV_FILE: ci/deps/latest.yml
PATTERN: "not slow and not network"
py36_locale_slow_old_np:
ENV_FILE: ci/deps/azure-36-locale_slow.yaml
CONDA_PY: "36"
PATTERN: "slow"
LOCALE_OVERRIDE: "zh_CN.UTF-8"
EXTRA_APT: "language-pack-zh-hans"
EXTRA_APT: "language-pack-zh-hans xsel"

py36_locale:
ENV_FILE: ci/deps/azure-36-locale.yaml
CONDA_PY: "36"
oldest:
ENV_FILE: ci/deps/oldest.yml
PATTERN: "not slow and not network"
LOCALE_OVERRIDE: "it_IT.UTF-8"

py36_32bit:
ENV_FILE: ci/deps/azure-36-32bit.yaml
CONDA_PY: "36"
PATTERN: "not slow and not network"
BITS32: "yes"
slow:
ENV_FILE: ci/deps/latest.yml
PATTERN: "slow"

py37_locale:
ENV_FILE: ci/deps/azure-37-locale.yaml
CONDA_PY: "37"
performance:
ENV_FILE: ci/deps/performance.yml
PATTERN: "not slow and not network"
LOCALE_OVERRIDE: "zh_CN.UTF-8"

py37_np_dev:
ENV_FILE: ci/deps/azure-37-numpydev.yaml
CONDA_PY: "37"
32bit:
ENV_FILE: ci/deps/32bits.yml
PATTERN: "not slow and not network and not clipboard"
BITS32: "yes"

development:
ENV_FILE: ci/deps/unstable.yml
PATTERN: "not slow and not network"
TEST_ARGS: "-W error"
PANDAS_TESTING_MODE: "deprecate"
EXTRA_APT: "xsel"

steps:
- script: |
Expand Down
14 changes: 4 additions & 10 deletions ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@ jobs:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
py36_np15:
ENV_FILE: ci/deps/azure-windows-36.yaml
CONDA_PY: "36"
PATTERN: "not slow and not network"

py37_np141:
ENV_FILE: ci/deps/azure-windows-37.yaml
CONDA_PY: "37"
latest:
ENV_FILE: ci\\deps\\latest.yml
PATTERN: "not slow and not network"

steps:
Expand All @@ -28,7 +22,7 @@ jobs:
displayName: 'Update conda'

- bash: |
conda env create -q --file ci\\deps\\azure-windows-$(CONDA_PY).yaml
conda env create -q --file $(ENV_FILE)
displayName: 'Create anaconda environment'

- bash: |
Expand All @@ -48,7 +42,7 @@ jobs:
inputs:
failTaskOnFailedTests: true
testResultsFiles: 'test-data.xml'
testRunTitle: ${{ format('{0}-$(CONDA_PY)', parameters.name) }}
testRunTitle: $(build)
displayName: 'Publish test results'

- bash: |
Expand Down
2 changes: 2 additions & 0 deletions ci/deps/azure-36-32bit.yaml → ci/deps/32bits.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Testing the core of pandas (no optional dependencies) in 32bits

name: pandas-dev
channels:
- defaults
Expand Down
39 changes: 0 additions & 39 deletions ci/deps/azure-36-locale.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions ci/deps/azure-36-locale_slow.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions ci/deps/azure-37-locale.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions ci/deps/azure-macos-36.yaml

This file was deleted.

36 changes: 0 additions & 36 deletions ci/deps/azure-windows-37.yaml

This file was deleted.

42 changes: 42 additions & 0 deletions ci/deps/extended.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Testing downstream packages and tricky IO methods (like network and db)

name: pandas-dev
channels:
- defaults
- conda-forge
dependencies:
- python=3.*

# tools
- cython>=0.29.13
- pytest>=5.0.1
- pytest-xdist>=1.21
- hypothesis>=3.58.0
- pytest-cov # this is only needed in the coverage build

# pandas dependencies
- numpy
- python-dateutil
- pytz

- dask
- geopandas
- scikit-learn
- xarray
- statsmodels

- sqlalchemy
- psycopg2
- pymysql

- pandas-gbq
# https://github.com/pydata/pandas-gbq/issues/271
- google-cloud-bigquery<=1.11
- gcsfs

- s3fs
- botocore>=1.11
- moto

- pip:
- pandas-datareader
Loading