forked from ztane/python-Levenshtein
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 962 Bytes
/
.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
language: python
env:
global:
- CIBW_SKIP: "cp35-*"
jobs:
include:
- services: docker
os: linux
dist: xenial
- services: docker
os: linux
dist: xenial
arch: arm64
- services: docker
os: linux
dist: xenial
arch: ppc64le
- services: docker
os: linux
dist: xenial
arch: s390x
- os: osx
language: shell
- os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- export PATH="/c/Python38:/c/Python38/Scripts:$PATH"
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
install:
- python3 -m pip install -U pip setuptools
- python3 -m pip install cibuildwheel==1.8.0
script:
- python3 -m cibuildwheel --output-dir wheelhouse
- python3 setup.py sdist --dist-dir wheelhouse
before_deploy:
- python3 -m pip install -U twine
deploy:
provider: script
script: python3 -m twine upload --skip-existing wheelhouse/*
skip_cleanup: true
on:
tags: true