-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (61 loc) · 2.41 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
language: python
os: linux
dist: xenial
jobs:
include:
- name: Python 3.9 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.9.0
- python -m pip install --upgrade pip
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
- name: Python 3.8 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
- name: Python 3.7 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.7.0
- python -m pip install --upgrade pip
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: Python 3.6 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.6.8
- python -m pip install --upgrade pip
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: Python 2.7 (32bit) on Windows
os: windows
language: shell
before_install:
- choco install python2 --x86
- python -m pip install --upgrade pip
env: PATH=/c/Python27:/c/Python27/Scripts:$PATH
- name: Python 3.6 on Xenial Linux
python: 3.6
install:
- pip install .
- pip list
before_script:
- python -c "import sys; print('Python verion ={}, sys.platform={}, is 64bit? = {}'.format(sys.version_info.major,
sys.platform, (sys.maxsize > 2**32)))"
script:
- if [ $TRAVIS_OS_NAME != linux ]; then python ./test_imports.py; fi
deploy:
provider: pypi
username: __token__
password:
secure: UpZDRhzPMoa98doEW7HALB0R/iCKz3MSm6d1sNCbhxE03quLk3KLwlz4PxODs/t7VVZ+rVuFnaihgBy32PRO9IImHkum8DqGe+fdCgbctcyF2GIKoosa97h0ycUsUFAvkZpseRDwDgv4yj0cmIDP62dtPTjd3jwuZ9FycRejy2ZjVtaXyY9K6x0acSaiYkcBm3kLXluPdcG+/+aSpo2wfjPu9hjx9f9MQDo+uO5bINJoine9gDyXJsv5wTvQCCWIQxa/B7wZ8Pnlfo8gGEGn4fO2mOicgk+vF31MME8AGyt0HhfU7ifUmvl1u++/zs1MYdVBC3I/E2IO+rY5j3Wodtn5HnheoSXPwHAhQxGwNWJ4qHCcagQNEQd3ZRfaDYTTKFLFKpzi0B1ls/ZCKKUD1RujUxHXUjgJzFO+ezbwv7Sz1pYEvhxBfE3s+9A8SH2oovgVjo5mz5y3XZ4mu2hian3dQJnHds1u3ID5FkercPjr82gPROpTkCd1v4gPG5xKxWT4qVNLJPxLSudjcAkgPLcD1+lbERFtGs2jtgwmazp2o30MNlsXuJ9a5fD32DOkrP9Iqe1OTmlxiFbBsKSFkiAroYNUJp3r7aoHW2/Ssl2BJTyzQRJ1kYFmhMcy5vuzSjUsKnJvAkvyrQs9DubsJNUJVYtdTvl/Pu1cQ5gXgNQ=
distributions: sdist
skip_existing: true
skip_cleanup: true
on:
all_branches: true
condition: ${TRAVIS_OS_NAME,,} =~ ^linux$ && "${TRAVIS_BRANCH,,} =~ ^(main|${TRAVIS_TAG,,})$"