forked from igraph/python-igraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
81 lines (73 loc) · 2.05 KB
/
.travis.yml
File metadata and controls
81 lines (73 loc) · 2.05 KB
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
dist: bionic
language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
- pypy3
addons:
apt:
packages:
- gfortran
- flex
- bison
install:
- python -m pip install tox-travis
script:
- tox
jobs:
include:
- stage: test
services: docker
- stage: wheels
services: docker
language: shell
env:
- CIBW_BEFORE_BUILD="yum install -y flex bison libxml2-devel zlib-devel && python setup.py build_c_core"
- CIBW_TEST_COMMAND="cd {project} && python -m unittest"
- CIBW_SKIP="cp35-*"
install:
- wget -qO- https://bootstrap.pypa.io/get-pip.py | sudo python3
- sudo python3 -m pip install cibuildwheel==1.6.1
script:
- python setup.py -q sdist
- python3 -m cibuildwheel --output-dir wheelhouse
before_deploy: &before_deploy_releases
- git config --local user.name "ntamas"
- git config --local user.email "ntamas@gmail.com"
# - export TRAVIS_TAG=0.8.0
# - git tag $TRAVIS_TAG
deploy: &deploy_releases
provider: releases
token:
secure: CAn8qENTIZSFed7VjqcQR42mjrPGV+QptW2XkncPaRwFooizPKgRsphgKzgv7k7peEQhQs/WOEtL0a3ofYRbbucOVbJ/nTVI0qGba9Lz/afsQ2UsbGnan0hXua9D/bo1wRhgqz8j0q6LHb3O8rgQOAKi8hWCChglr2saeRsy5Fc=
file:
- wheelhouse/*.whl
- dist/python-igraph-${TRAVIS_TAG}.tar.gz
file_glob: true
draft: true
edge: true
overwrite: true
cleanup: false
on:
repo: igraph/python-igraph
tags: true
- stage: wheels
os: osx
osx_image: xcode11.2
language: shell
env:
- CIBW_BEFORE_BUILD="python setup.py build_c_core"
- CIBW_TEST_COMMAND="cd {project} && python -m unittest"
install:
- python3 -m pip install cibuildwheel==1.6.1
script:
- python3 -m cibuildwheel --output-dir wheelhouse
before_deploy: *before_deploy_releases
deploy: *deploy_releases
notifications:
email:
on_success: change
on_failure: always