|
| 1 | +variables: |
| 2 | + pytest_extra_flags: '' |
| 3 | + allow_failure: false |
| 4 | + |
| 5 | +jobs: |
| 6 | + |
| 7 | +- job: Linux |
| 8 | + strategy: |
| 9 | + matrix: |
| 10 | + py35-min: |
| 11 | + conda_env: py35-min |
| 12 | + py36: |
| 13 | + conda_env: py36 |
| 14 | + py37: |
| 15 | + conda_env: py37 |
| 16 | + py36-dask-dev: |
| 17 | + conda_env: py36-dask-dev |
| 18 | + py36-zarr-dev: |
| 19 | + conda_env: py36-zarr-dev |
| 20 | + py36-pandas-dev: |
| 21 | + conda_env: py36-pandas-dev |
| 22 | + py36-flakey: |
| 23 | + conda_env: py36 |
| 24 | + pytest_extra_flags: --run-flaky --run-network-tests |
| 25 | + allow_failure: true |
| 26 | + # TODO: add numpy-dev to the test-matrix |
| 27 | + continueOnError: ${{ variables['allow_failure'] }} |
| 28 | + pool: |
| 29 | + vmImage: 'ubuntu-16.04' |
| 30 | + steps: |
| 31 | + - template: ci/azure/unit-tests.yml |
| 32 | + |
| 33 | +- job: MacOSX |
| 34 | + strategy: |
| 35 | + matrix: |
| 36 | + py36: |
| 37 | + conda_env: py36 |
| 38 | + pool: |
| 39 | + vmImage: 'macOS-10.13' |
| 40 | + steps: |
| 41 | + - template: ci/azure/unit-tests.yml |
| 42 | + |
| 43 | +- job: Windows |
| 44 | + strategy: |
| 45 | + matrix: |
| 46 | + py36: |
| 47 | + conda_env: py36-windows |
| 48 | + py37: |
| 49 | + conda_env: py37-windows |
| 50 | + pool: |
| 51 | + vmImage: 'vs2017-win2016' |
| 52 | + steps: |
| 53 | + - template: ci/azure/unit-tests.yml |
| 54 | + |
| 55 | +- job: CodeChecks |
| 56 | + variables: |
| 57 | + conda_env: py37 |
| 58 | + pool: |
| 59 | + vmImage: 'ubuntu-16.04' |
| 60 | + steps: |
| 61 | + - template: ci/azure/install.yml |
| 62 | + - bash: | |
| 63 | + source activate test_env |
| 64 | + flake8 |
| 65 | + displayName: flake8 lint checks |
| 66 | + - bash: | |
| 67 | + source activate test_env |
| 68 | + mypy . |
| 69 | + displayName: mypy type checks |
| 70 | + # allow mypy failures until we have a nice way of displaying results in |
| 71 | + # pull requests |
| 72 | + continueOnError: true |
| 73 | +
|
| 74 | +- job: Docs |
| 75 | + pool: |
| 76 | + vmImage: 'ubuntu-16.04' |
| 77 | + steps: |
| 78 | + - template: ci/azure/install.yml |
| 79 | + parameters: |
| 80 | + env_file: doc/environment.yml |
| 81 | + - bash: | |
| 82 | + source activate test_env |
| 83 | + cd doc |
| 84 | + sphinx-build -n -j auto -b html -d _build/doctrees . _build/html |
| 85 | + displayName: Build HTML docs |
| 86 | +
|
| 87 | +- job: LinuxHypothesis |
| 88 | + variables: |
| 89 | + conda_env: py36-hypothesis |
| 90 | + pool: |
| 91 | + vmImage: 'ubuntu-16.04' |
| 92 | + steps: |
| 93 | + - template: ci/azure/install.yml |
| 94 | + - bash: | |
| 95 | + source activate test_env |
| 96 | + pytest properties |
| 97 | + displayName: Property based tests |
0 commit comments