File: .travis.yml

package info (click to toggle)
dask.distributed 1.25.0+ds.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,696 kB
  • sloc: python: 39,523; makefile: 178; sh: 80
file content (40 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download
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
language: python
# sudo shouldn't be required, but currently tests fail when run in a container
# on travis instead of a vm. See https://github.com/dask/distributed/pull/1563.
sudo: required
dist: trusty

env:
  matrix:
    - PYTHON=2.7 TESTS=true PACKAGES="python-blosc futures faulthandler lz4"
    - PYTHON=3.5.4 TESTS=true COVERAGE=true PACKAGES="python-blosc lz4" CRICK=true
    - PYTHON=3.6 TESTS=true PACKAGES="scikit-learn lz4"
    - PYTHON=3.7 TESTS=true PACKAGES="scikit-learn python-snappy python-blosc"

matrix:
  fast_finish: true
  include:
  - os: linux
    # Using Travis-CI's python makes job faster by not downloading miniconda
    python: 3.6
    env: LINT=true
  #- os: osx
    #env: PYTHON=3.6 RUNSLOW=false
  # Together with fast_finish, allow build to be marked successful before the OS X job finishes
  #allow_failures:
  #- os: osx
    ## This needs to be the exact same line as above
    #env: PYTHON=3.6 RUNSLOW=false

install:
  - if [[ $TESTS == true ]]; then source continuous_integration/travis/install.sh ; fi

script:
  - if [[ $TESTS == true ]]; then source continuous_integration/travis/run_tests.sh ; fi
  - if [[ $LINT == true ]]; then pip install flake8 ; flake8 distributed ; fi

after_success:
  - if [[ $COVERAGE == true ]]; then coverage report; pip install -q coveralls ; coveralls ; fi

notifications:
  email: false