forked from BobBuildTool/bob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (47 loc) · 1.94 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
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
# Define build environment and install additonally required packages.
dist: xenial
addons:
apt:
sources:
- sourceline: "deb [arch=amd64] https://packages.microsoft.com/ubuntu/16.04/prod xenial main"
key_url: "https://packages.microsoft.com/keys/microsoft.asc"
packages:
- cvs
- parallel
- eatmydata
- powershell
# Shallow clones break the build because the right Bob version cannot be
# inferred due to missing tags.
git:
depth: false
install:
- pip install PyYAML
- pip install codecov
- pip install schema
- pip install python-magic
- pip install pyparsing
- pip install sphinx
script:
- eatmydata ./test/run-tests.sh
- python3 setup.py bdist_wheel --plat-name manylinux1_x86_64
after_success:
- codecov
deploy:
provider: pypi
user: "__token__"
password:
secure: vJ//2MsvW2JqJNzD3IxJuTSd809Frd/GOweKYwYVQhK7okE2nP9exIkPHkK8vj18QzEeazh+bO3RmzszJQ5gbvuTwkrWNEVJIPyBkhG5tTstNeCONk4S1PGwYs6ZeWKugMDVdFloattiRGDyqkNRi/Y2w+tHlsHeGiuf0kVllXsK8bMwf7IG/IlLO6pwPUu4zkiy5GMhbM3Y6vxb2bLjFkHQq4CzAYf75N8hVZUrVD6MaPkXW7/EC2EIiI4uGNLJofjiKgP1NdbRA82/jHnIZTkjtlnxZvG+p1pbYwrcChulKJjTtQWfFQHt5atF7BNl4dHY6cPha/8NCqstXAy5GIYjYPRvWufvQ9v+n6cnfbs6cUue17plVJAPN1pPauW/9S2flBJ+yVTkRIp3tyI/CV4vofDwR3+EAHlNfWCmFT/NiUF6ugzKHrtHgTOc2ybxPruuBTnSDlRz83Q8ammxUAwdv4qw1btY3zB9FWorvq/PZGxec5+QnQWG5OAV6ZBtSe8ikAN6jcofBOBd90Gh911zn9HXSbBTYEox3HogKfw7yQGHRd1ZtUrdb/yRhZ0cjVSKTBXVtCNlC6pZxATyNbUiCUPS/KUvrrRgr5S3ZAeRJJwfEAiQ3HfGmOUGD+VY73XR+NUxhi5uI2zPdy6Vl+qLT559f+hI/qHHoEb9C4k=
on:
tags: true
skip_existing: true
# Do not add "bdist_wheel" to "distributions" because we have to set
# --plat-name explicitly. Instead we build it ourself in "script" and
# let it ride for free in the "sdist" upload...
skip_cleanup: true
distributions: "sdist"