1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
language: generic
sudo: false
dist: trusty
os: linux
_base_envs:
- &test_and_lint TEST='true' LINT='true'
- &coverage COVERAGE='true' PARALLEL='false'
- &no_coverage COVERAGE='false' PARALLEL='true'
- &optimize PYTHONOPTIMIZE=2 XTRATESTARGS='--ignore=dask/diagnostics --ignore=dask/array/tests/test_image.py --ignore=dask/array/tests/test_stats.py --ignore=dask/bytes/tests/test_s3.py'
- &no_optimize XTRATESTARGS=
- &imports TEST_IMPORTS='true'
- &no_imports TEST_IMPORTS='false'
jobs:
fast_finish: true
include:
- env:
- PYTHON=2.7
- NUMPY=1.13.0
- PANDAS=0.20.2
- *test_and_lint
- *no_coverage
- *optimize
- *no_imports
- env:
- PYTHON=3.5
- NUMPY=1.11.1
- PANDAS=0.19.2
- *test_and_lint
- *no_coverage
- *no_optimize
- *no_imports
- env: &py36_env
- PYTHON=3.6
- NUMPY=1.14.1
- PANDAS=0.22.0
- *test_and_lint
- *coverage
- *no_optimize
- *imports
- env: &py37_env
- PYTHON=3.7
- NUMPY=1.15.0
- PANDAS=0.23.4
- *test_and_lint
- *no_coverage
- *no_optimize
- *imports
- env: &py36_dev
- UPSTREAM_DEV=1 # Install nightly versions of NumPy, pandas, pyarrow
- NUMPY=1.13.0 # these are overridden later
- PANDAS=0.20.3
- *test_and_lint
- *no_coverage
- *no_optimize
- *no_imports
if: type != pull_request
- env: *py36_env
if: type != pull_request
os: osx
- env:
- TEST_HDFS='true'
if: type != pull_request OR commit_message =~ test-hdfs # Skip on PRS unless the commit message contains "test-hdfs"
sudo: true
services:
- docker
before_install:
- source continuous_integration/hdfs/startup_hdfs.sh
allow_failures:
- env: *py36_dev
- os: osx
install:
- if [[ $TEST_HDFS == 'true' ]]; then source continuous_integration/hdfs/install.sh; fi
- if [[ $TEST == 'true' ]]; then source continuous_integration/travis/install.sh; fi
script:
- if [[ $TEST_HDFS == 'true' ]]; then source continuous_integration/hdfs/run_tests.sh; fi
- if [[ $TEST == 'true' ]]; then source continuous_integration/travis/run_tests.sh; fi
- if [[ $LINT == 'true' ]]; then flake8 dask; fi
- if [[ $TEST_IMPORTS == 'true' ]]; then source continuous_integration/travis/test_imports.sh; fi
after_success:
- source continuous_integration/travis/after_success.sh
notifications:
email: false
|