forked from wolph/numpy-stl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
82 lines (73 loc) · 1.71 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
72
73
74
75
76
77
78
79
80
81
82
dist: xenial
language: python
env:
global:
- PIP_WHEEL_DIR=$HOME/.wheels
- PIP_FIND_LINKS=file://$PIP_WHEEL_DIR
matrix:
include:
- python: '3.6'
env: TOXENV=docs
- python: '3.6'
env: TOXENV=flake8
- python: '3.6'
env: TOXENV=py36
script: tox -vv
- python: '3.7'
env: TOXENV=py37
- python: '3.8'
env: TOXENV=py38
# before_install:
# - sudo apt update
# - sudo apt install -y xcb xvfb libxcb-xinerama0
- python: '3.9'
env: TOXENV=py39
# Added power support architecture
- arch: ppc64le
python: '3.6'
env: TOXENV=docs
- arch: ppc64le
python: '3.6'
env: TOXENV=flake8
- arch: ppc64le
- arch: ppc64le
python: '3.6'
env: TOXENV=py36
- arch: ppc64le
python: '3.7'
env: TOXENV=py37
- arch: ppc64le
python: '3.8'
env: TOXENV=py38
- arch: ppc64le
python: '3.9'
env: TOXENV=py39
cache:
directories:
- $HOME/.wheels
# command to install dependencies, e.g. pip install -r requirements.txt
install:
- mkdir -p $PIP_WHEEL_DIR
- pip wheel -r tests/requirements.txt
- pip install coveralls flake8 tox wheel
- pip install -e .
script:
- tox
before_script: flake8 --ignore=W391 stl tests
after_success:
- pip install codecov coveralls
- coveralls
- codecov
notifications:
email:
on_success: never
on_failure: change
deploy:
distributions: bdist_wheel
provider: pypi
user: WoLpH
password:
secure: HVxDUJ6ns7G7xypuibu01ruDfO4orV5lNr1Mor003MX3HVivvKsTwWqY5K1J+J+C4mgK6ahyvanD5GahYvcWia/Y2xeH2VnytnAgo+W3AI+h72+1oaRpvQHynJ7Fz6Mc0zad0GcbQh3QuA7Pu3IOWs7buUL+MQM6d9QLTkerOvs=
on:
tags: true
repo: WoLpH/numpy-stl