-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
79 lines (66 loc) · 3.06 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
67
68
69
70
71
72
73
74
75
76
77
78
79
# -*- coding: utf-8 -*-
#
# This file is part of essm.
# Copyright (C) 2017 ETH Zurich, Swiss Data Science Center.
#
# essm is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# essm is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with essm; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
notifications:
email: false
language: python
git:
depth: false
python:
- '3.6'
sudo: true
cache:
apt: true
pip: true
env:
global:
- GH_REF="github.com/environmentalscience/essm.git"
- secure: KwansI0JAlS1EZe0yPP16mLf16tdy3uT6thiFral7VLA+PsfiEYJbjnkaDBKu/ICB70KK46EA7rJ4bpof0RKDyadTKY1nixDrIVPhFIQaqAuUILmsPmFcS7xzh0DPCz8C1SK01jqJgzutztFCQkQfYjHUL6pHM9x46mImsJLyqmKjT74GGGt29iINkO2jK54WmJWb79G9eWNCGtNCepEXEwQvReD7Bs9oR/ErZULugfZTCsPGMQa40rOt+tW6rYg32hJkGZBU52dUk5VqopLV4eQopkrEvk+5mURewUj+QR59i92jhtHtGqpcl4gGlSRKteII0dNF2KFHLGViOEsSjbKfdcjCnvRawypeEJVvtTizBL2N5zL4Zku56QRZhDSOia/ZyCgXBLQJpxUM/9OxI7c7X87qQGCwvTTg3UqBbYw8NLcuz4UTn0eNXTkguW3w6v9QXpMyiJDIthvSAAuj5JhKKeNrrqCQazSfozjj10YJeZxoMXtm6cjbGhAOJVBBLFEEre33cqv52CrS5aK3Pr5mHIXpNkMVBZpCfzF0e/OHPliSqSsOPeoeKxqLYnJQf/EmGnEPf9LSYSxIxiIdSMrCdlkZf2ysRVSp73BM1w9vOO0vpp2KOQYT58XNc/ex1XE2uh77I48F6SFwYnsTutzyNMKzCqnyTp2STeD/aE=
before_install:
- git fetch --tags
- sudo apt-get install pandoc
- travis_retry pip install -U twine wheel coveralls pip
- travis_retry pip install check-manifest pydocstyle
- travis_retry pip install -r requirements-devel.txt
install:
- pip install -e .[all]
script:
- python setup.py test
- python setup.py build_sphinx
- pydocstyle essm
- check-manifest --ignore "essm/version.py"
after_script:
- coveralls
after_success:
- ./gh-pages.sh
deploy:
- &pypi
provider: pypi
user: jirikuncar
password:
secure: c5KG89yB9qjXmk0uSLpMdEf+5cpLfPBIbsp9DXOLam1SIcvO7S/fNoYiDwxaG0FM93Y6dTwepRT6n8QhVg5hfHX+b5Gr5TkLq5QGUnp/ry/xRENrGbELRqtYW4l2Pgs/rtBG0fNVkg1zEd/psd21RtwM4OAhk0Fr4Scto9nMxxHVhX1MQf3LdSG/j9Ym+qLQATpcvGFKP1FieYU4aPS2XnFgY+lt0iUWRF297Qd2n3LN8ZM6wUp/rYCYWqy1D6xXkxmqkckM5GtLW6i9M5EdUURaeN2ZYzr7zOoScgCt/umHCZmqrHAbgKE3yoCv4mJJope/D+noPFGS2VmPncOSH2viqtcSAD0dyaD3C+6cbmsqyCseSjg6qM/uapoKLvQqKvTNdYKCqp1vS9YRjozeWsfnuZsQiS1uIIGpL70Q3Qu2o/X62ucyhcxI7uuCw9hZxN6QPZDQwz2I/gcSmoieH9N1DVjhVhA5MlBTi4TGbYOG+t4Vh5tqW0zR7LeOa/naDQ0xz6RUtWPwxTvE7/C63WbH0W6HjeYW0iyr4+G59qVQjTA94XKc8rZuWdr2Q0+Y8Ca3axUtxmDrx5KjwfTMvW0VEKZmBLnBZECWAcf3J+V9zUuBmQKXcBBvm5J2WqPhlqyflOuM2vM87TZO0XgGirjjN4uvkrj+T54YF2LoP0E=
distributions: "sdist bdist_wheel"
on: &pypi_on
branch: master
python: "3.6"
repo: environmentalscience/essm
- <<: *pypi
on:
<<: *pypi_on
tags: true