-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
38 lines (33 loc) · 1.45 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
language: python
python:
- '3.6'
- '3.7'
branches:
only:
- master
- dev
- "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION gdal scipy numpy
shapely netCDF4 pytest
- conda activate test-environment
- python setup.py install
script:
- pytest -vv
deploy:
provider: pypi
user: __token__
password:
secure: AGK5fi44BGqeNcbm5wCue55Id847XZbQbKZUJB2TFcpeay6Jypnlwia2mf7sxz8yjkkH1kJVRvUTyZ0Fo4SEQBJXSiK/HyJ2zjLJ+SYoxqeeUTIG9K2/xiaOliKFoZjsSYRWR4P9txkTf2ipjaXu6BIX4N0Cdgef43lW/8i8elC8hzavP0WJLXIuS+7lydFkx0C2d0xVFiSHywns/liBacUJmrRiwtQ8SsQIzqf8/Edr06Sg71xGptXumchFDZBr2FIN7ehrjcD4crZfRdpouNVu/cOmyIbbEE2oFAD1h5WB2B4zDc3/JQVKkOprek37Cdoxc7oWrcTHqy0eVQ+wBUfpicoFkqr56M5e9nJDyD0BTaVTygb+05nqcaCZzUULcPvgWe978Uqmmes6aqWVxTKxmiytZIId/qy0Lf9GtEq+L9PXLpukUi6N2kKnV9B/Sb27Whoglrqx6DR/byRZDtBC6f55s/5uh2ViTa7ArJgfu/wTjXnaQuj01v98tYfRJ5u3x0LyfIuj0idll8r1VFYGY5Iz8/ReqO7bryWWGWQxavIeWhnXBOD3GEArEuqymPR4uI6WitcI+8mkU+AO5DNNBJtd0hGN4mHQPT4ZuHnE4YozAgYeMSRBuLALKqs53xy1SlR83PGGgUujcvEw3j7+oWVgQ1JoJhafRuBaUOQ=
on:
tags: true
skip_cleanup: true
skip_existing: true