-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
67 lines (52 loc) · 1.36 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
language: python
install:
- $PIP install --upgrade cibuildwheel==1.0;
script:
- cibuildwheel --output-dir wheelhouse
- if [[ $TRAVIS_TAG ]]; then
echo $TRAVIS_TAG;
brew update;
brew install python2;
brew link --overwrite python2;
sudo $PIP install twine;
twine upload --skip-existing wheelhouse/*.whl;
fi
jobs:
include:
- services:
- docker
python: "3.6"
env: PIP=pip CIBW_BUILD="cp27-*"
- services:
- docker
python: "3.6"
env: PIP=pip CIBW_BUILD="cp35-*"
- services:
- docker
python: "3.6"
env: PIP=pip CIBW_BUILD="*cp36-*"
- services:
- docker
python: "3.6"
env: PIP=pip CIBW_BUILD="cp37-*"
- os: osx
before_install: brew update;
language: generic
env: PIP=pip2 CIBW_BUILD="cp27*"
- os: osx
before_install: brew update;
language: generic
env: PIP=pip2 CIBW_BUILD="cp35*"
- os: osx
before_install: brew update;
language: generic
env: PIP=pip2 CIBW_BUILD="cp36*"
- os: osx
before_install: brew update;
language: generic
env: PIP=pip2 CIBW_BUILD="cp37*"
env:
global:
- CIBW_BEFORE_BUILD="pip install numpy==1.16"
- CIBW_TEST_COMMAND="python {project}/starlink/ast/test/test.py"
- TWINE_USERNAME=__token__