File: .travis.yml

package info (click to toggle)
pyresample 1.17.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 33,916 kB
  • sloc: python: 14,541; cpp: 361; makefile: 97; sh: 8
file content (34 lines) | stat: -rw-r--r-- 1,067 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
language: python
env:
  global:
  - PYTHON_VERSION=$TRAVIS_PYTHON_VERSION
  - NUMPY_VERSION=stable
  - MAIN_CMD='python setup.py'
  - CONDA_DEPENDENCIES='xarray dask toolz Cython pykdtree sphinx cartopy rasterio pillow matplotlib
    pyyaml pyproj coveralls configobj coverage codecov pytest pytest-cov shapely zarr scipy'
  - SETUP_XVFB=False
  - EVENT_TYPE='push pull_request'
  - SETUP_CMD='test'
  - CONDA_CHANNELS='conda-forge'
  - CONDA_CHANNEL_PRIORITY='strict'
matrix:
  include:
  - env: PYTHON_VERSION=3.7
    os: linux
  - env: PYTHON_VERSION=3.7
    os: osx
    language: generic
  - env: PYTHON_VERSION=3.7
    os: windows
    language: c
install:
- git clone --depth 1 git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- pip install --no-deps -e .
script:
- pytest --cov=pyresample pyresample/test
- cd docs && mkdir doctest && sphinx-build -E -n -b doctest ./source ./doctest && cd ..
after_success:
- if [[ $PYTHON_VERSION == 3.7 ]]; then coveralls; codecov; fi
notifications:
  slack: pytroll:96mNSYSI1dBjGyzVXkBT6qFt