forked from pytroll/pycoast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.27 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
language: generic
env:
global:
# Set defaults to avoid repeating in most cases
- PYTHON_VERSION=$TRAVIS_PYTHON_VERSION
- NUMPY_VERSION=stable
- MAIN_CMD='python setup.py'
- CONDA_DEPENDENCIES='sphinx pillow pyproj coveralls coverage mock aggdraw six pyshp'
- PIP_DEPENDENCIES=''
- SETUP_XVFB=False
- EVENT_TYPE='push pull_request'
- SETUP_CMD='test'
- CONDA_CHANNELS='conda-forge'
- CONDA_CHANNEL_PRIORITY='True'
matrix:
include:
- env: PYTHON_VERSION=2.7
os: linux
- env: PYTHON_VERSION=2.7
os: osx
- env: PYTHON_VERSION=3.6
os: linux
- env: PYTHON_VERSION=3.6
os: osx
- env: PYTHON_VERSION=3.6
os: windows
language: bash
install:
- git clone --depth 1 git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
script: coverage run --source=pycoast setup.py test
after_success:
- if [[ $PYTHON_VERSION == 3.6 ]]; then coveralls; fi
deploy:
- provider: pypi
user: dhoese
password:
secure: M3wCEnirvwNDncuoLj8DpPFwNypLXcDGlAinNHfwZLIEzDTNrC5XhGZ3xbfmAeBGOIgJ2I6xDWJ6hYevv3HxBdgln9nJfO7tsnqisK1lxyF4/dntCJm5CLkJqM8To1o9zeht0dyZJ66fUAHfxwjXGBDoaPyEnsygWXH6vpEZ8K0=
distributions: sdist
skip_existing: true
on:
tags: true
repo: pytroll/pycoast
notifications:
slack: pytroll:96mNSYSI1dBjGyzVXkBT6qFt