forked from zdict/zdict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (63 loc) · 1.88 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
language: python
jobs:
fast_finish: true
allow_failures:
- python: "nightly"
include:
- stage: test
os: linux
python: 3.4
- stage: test
os: linux
python: 3.5
- stage: test
os: linux
python: 3.6
- stage: test
os: linux
python: "nightly"
# Python runtime is not yet available on OS X
# https://github.com/travis-ci/travis-ci/issues/2312
- stage: test
os: osx
language: generic
env: PYTHON_VERSION=3.4.8
- stage: test
os: osx
language: generic
env: PYTHON_VERSION=3.5.5
- stage: test
os: osx
language: generic
env: PYTHON_VERSION=3.6.4
- stage: deploy
os: linux
python: 3.4
script: skip
deploy: &pypi
provider: pypi
user: M157q
password:
secure: SxXAmsEixEw9bIiSTFiRxU4JiILsLZ/wMRys+w5zwmHftyI6+div5j1FcwtxsmAGcSSzsNgKvF9OBCcKuaJ6rlHf87pf13CxsCeZubKKHod7aMywjTtSKRGA70fKB5h+p0qomRgpV1njvgPwLcLeEbr9rHTxjIXBiE77P4E59zk=
distributions: "sdist bdist_wheel"
on:
branch: master
tags: true
condition: $TRAVIS_EVENT_TYPE != cron
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then sh ci/install_python_for_osx.sh; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then source ~/venv/bin/activate; fi
install:
- "pip install -U setuptools" # for upgrade issue with setuptools and CPython 3.6 on Travis CI
- "pip install -U pip"
- "pip install -U pytest coveralls"
- "pip install ."
- "pip freeze"
script:
- python setup.py test
after_success:
- coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/7498c1d7f0e50c212e1a