forked from pytroll/pygac-fdr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
66 lines (66 loc) · 3.18 KB
/
.travis.yml
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
language: python
env:
global:
- PYTHON_VERSION=$TRAVIS_PYTHON_VERSION
- NUMPY_VERSION=stable
- MAIN_CMD='python setup.py'
- CONDA_DEPENDENCIES='netcdf4 hdf5 udunits2 coveralls coverage pytest pytest-cov'
- PIP_DEPENDENCIES=''
- SETUP_XVFB=True
- EVENT_TYPE='push pull_request cron'
- SETUP_CMD='test'
- CONDA_CHANNELS='conda-forge'
- CONDA_CHANNEL_PRIORITY="strict"
- UNSTABLE_DEPS=False
- secure: "M8/z9tjyJkyi5hOGyIRKAt6e/ftoSVY9MAoB9YX83wmGvvy/dOMtlGDddSlCKkaMXnrYfi13i+k2nHv9o0j4wrTeTKJ77jw3OT708Ppu+qI3IRePThYbvGwGL7Fnbrvu2qzNaKWkMUbNRW6+ASj5/31XQxOt0UUEkPCP0TZaycrVB1UKl3tiuS+mFcPxvzlXAUL9O0qTxblC/E7iFQ/8JeO87jhN2wuiEDVbk+ceAo1prbzSDEhiAJQGJ4/+Oc6rOjJuXgAfqAMkMPpVVztApJ4LIX+2Ok04OI9Jvwya1hBaLO7zfAujPwpg1/A/3bIiJQ14FtySZmk8fu2ncju+lH4JJV7QVrXsaDc8alusRBjonQ1m8/MsYtrYncmTmrH4VXd5l0c5sIQcSai47kZfx4ihCePuxRQPXcrqeW1kHMZXQYPvEDs4+eEybAjXebfg+pccxy+p6OQwBLpDEnMMVbL7AX57UWxJTwDuP0JAzq8l8k6eZU7r5cfqhygrWcqpEBeVjQfNu1VVw0VOHfdYKQjurIPNG88+XUQuaofeY4p9TAoP6qac9MlBTl09Rax0nXXUAF2+/SgqAOoGqw8FL5KCueIQc6aeeb3DWoFYWTGn26qVIdEZCPZgvuwh+dpj68dCU293YC/jsCHfbLqBo9PSu++RY/m01KgooS+vTWo="
jobs:
include:
- name: "Python 3.7"
env: PYTHON_VERSION=3.7
os: linux
- name: "Python 3.7 (unstable)"
env:
- PYTHON_VERSION=3.7
- UNSTABLE_DEPS=True
os: linux
- name: "Python 3.8"
env: PYTHON_VERSION=3.8
os: linux
allow_failures:
- name: "Python 3.7 (unstable)"
install:
- git clone --depth 1 git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- if [[ "$UNSTABLE_DEPS" == "True" ]]; then
pip install
git+https://github.com/pydata/xarray
git+https://github.com/pydata/pandas
git+https://github.com/pytroll/satpy
git+https://github.com/pytroll/pygac;
fi
- pip install -e .[tests]
before_script:
- if [[ $PYTHON_VERSION == 3.7 && $TRAVIS_EVENT_TYPE == "cron" ]]; then
python pygac_fdr/tests/fetch_data.py;
fi
script:
- pytest --cov=pygac_fdr pygac_fdr/tests --ignore=pygac_fdr/tests/test_end2end.py
- if [[ $PYTHON_VERSION == 3.7 && $TRAVIS_EVENT_TYPE == "cron" ]]; then
python pygac_fdr/tests/test_end2end.py;
fi
after_success:
- if [[ $PYTHON_VERSION == 3.7 ]]; then coveralls; fi
after_failure:
- if [[ $PYTHON_VERSION == 3.7 && $TRAVIS_EVENT_TYPE == "cron" ]]; then
tools/create-github-issue.sh "System tests on $TRAVIS_JOB_NAME failed" $TRAVIS_JOB_WEB_URL;
fi
deploy:
- provider: pypi
user: "__token__"
password:
secure: EuyAZzfF4YevGjCeXJP/d+jUivIWqEIyWEd7vwfSWX0eJyDfflK+QshdZaXH3cAEUslK7DMJEO8wKJecHnloPRxcPIfdZ5WqSLH7nNCo8MuyuGhk5VCwVi2uoy3ad9AxQxuBsoTCikA3b1A0iHtDTvG6oezQbg+3gyEkbFtyPyTLCLIl8V2QSUw7/Qri3H2M4Nh6JoinS4IyQDEAgsSDL0Wzm/24S1O+5Ibqp8y1au+o8zMviLzH93AVMqh4hrDwHYv5EC9vid0GJy8AVFNQ9/tzISPmkSQXEOiBxvQFf4y+oxtw68TX4ZQ3KTuc7IFK9iXgTapCtZ928LTEasxdhy+M1S6y7/01krsBsuSMHn2druyHAX1FZQPWD5ggCuneFH1ip+lm8ORIrKdYF7WQH7oqKdxCRWQ3wjUy3tEYxVP/QUyclPbX3+dx+CZ4UCVBNiz+NjoFlVLmn4GG2Ubwp7rtwOc7bCJAYiOdoUqOnAx5MzHsQSidLtP63MRCgvM3xM1bgqWj+ZTPwpu9RU8Q6scIOMIN/FyCL/0AnJjKNj1pBwDcAAuSzsWjMfgI/rNKCNP9v/4EbYDdVV0z8XjhLWuZdCbk3wNTPip/vWk77RKxyDSv0x2xIEqIUCmkAGXHYwfRExAq4+ZGyCWmSDd0VLWIfd3HJ2DFNIdzZrjNE90=
distributions: sdist
skip_existing: true
on:
tags: true
repo: pytroll/pygac-fdr