forked from userzimmermann/zcons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (57 loc) · 1.77 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
sudo: false
git:
depth: false
language: python
python:
- '2.7'
- '3.5'
- '3.6'
- pypy
env:
- SCONS=SCons==3.0.1
- SCONS=
install:
- pip install -U pip setuptools six wheel
- pip install -U -e .
- pip install tox tox-travis
script:
- |
if [ ! -z "$SCONS" ] ; then
pip install "$SCONS"
fi
- |
python -c "$(cat << EOF
import os
import zcons
import SCons
assert zcons.SCONS.version == SCons.__version__
SCONS = os.environ.get('SCONS')
if not SCONS:
assert (
__import__('zetup.version').version.Version(
SCons.__version__
) >= '3.0.3')
else:
assert SCONS == "SCons==3.0.1"
assert (
__import__('zetup.version').version.Version(
SCons.__version__
) == '3.0.1')
EOF
)"
- tox -r -v
- pip uninstall --yes zcons
- pip install zetup[all]
- zetup install
# - zetup pytest
- zetup sdist
- zetup tox
deploy:
provider: pypi
user: userzimmermann
password:
secure: PSaF0STaBBt/rxcLymNEl1VlVQZ4SrNmdJRbhRZv9fiazTv2BYWGXK1N0qB1kGokpHzuDj3Jkboi50QrsuQxeRZ8NIhyT8tbOqGi9ZB1eLEOQGbsiceadA1O1fzo99/rE9HDKL7BHVDqJ9F60nd2vQXzCFsz0emy2tGteA5/MQ4tjP+uAq2KEzh4olO9Sc7IkEBwnbI9c9GaCYvq8jDfPUPzLuO+HlR6ZMlv8FOu9BT11OfhumNICfSe5T6sYa+i7F7oVSk+xxz0nr0MQEMjTwDi46fLkIF/vJukC9OfC4N6xTEP6pdIj7K4u3VlFcF+ZyCetI7zSj1k6Ki5m9gc38Tz+5hzHf/UjEoUXkJ91zbOFeCAKfUnoTPJf+P1EKkoNdLb1y95b6bY2D7rov2qpGHpofiUg5ACjQ+wnZcwRzGBkJHCR4oWHA4E1/dVBdAR7TZVw7a89XNVV3jgcgPtjA60MiEmsQ9pQibw00zk7/l1g8zKv+VRqzb1JlxDqwlEi7XN2V9xi4KJHGQRj3Xk6QInF0b6d7u3kq/lmAfUm64oiS23KfaxpjsLuDQL205cR8Th8c5/q3meear1iCk+7z5qS+noSCW2YfEqKKOUV+omfYAva2+xTtr4kSqt7ei6bC/A+MnOz1eMrtQitZpd8k/LjOLlKGnsDPPWdvZx+kw=
on:
python: '2.7'
condition: >
-z "$SCONS"