-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
54 lines (49 loc) · 3 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
notifications:
email: false
matrix:
include:
- os: osx
- os: linux
sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
- sudo: required
services:
- docker
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
PRE_CMD=linux32
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull $DOCKER_IMAGE; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./build-wheels.sh $TRAVIS_OS_NAME; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/build-wheels.sh $TRAVIS_OS_NAME; fi
- ls wheelhouse/
before_deploy:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip install appveyor-artifacts; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then appveyor-artifacts -c $(git rev-parse HEAD) -o jbaiter -n python-rust-fst download; fi
# Don't deploy sdist package when building OSX wheels
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PYPI_DISTRIBUTIONS='check'; fi
- mkdir -p dist_; mv dist/rust_fst*.whl dist_; rm -rf dist; mv dist_ dist;
- mv wheelhouse/rust_fst*.whl dist; ls dist
# 'twine' installation fails for the old infrastructure because of the
# missing 'sudo, so we install it manually here
- sudo pip install twine
deploy:
- provider: releases
api_key:
secure: 0MY7OzVqfPyEdynSZR2ke8VBEjMyAh6MHlXh9jlfdROgaoZ/TUNPlmlDtV+Dd/ZG/nIjcakoIWaFA3/Ta8ekYievoi/vtvdrecHem/O/9zmLglWKJwD3hukUw3w1/YngquzYqlKJrX9pYX3io3hFTUzxDx/5DXYiuRA7q8cvgmztAnDKtEqbRRMVc24Q54mbDmF000sELgumjAaCH3Ronu9f5zXIhrLHDp/gHAlH3LQ19/FNn7rNvx+ZfpLlHYN0RFunXuG7OcDsQMWv/TEUy+rjTV16z5N2xPmonFij37/w5bMgBjPPHTafky24avqoZvGaRDoCkQCU3STrl+pK/ljcnq7Et9Q4p1RPod0ypkh43FANUWsszB5AmTabDxINjFe7UTSsLnzOk7kDXmGU55ZQe87+x1l/GFm6CdZUrL4zkxzN5vA4COe9CGYC6EXieQaOADa62B9PmsbrZuaEUBVOWfSJuMXrTiIKjhB5gmqAuGNsRea8sIAdd9M4mMthLm0rLFrRIH/+W7jANRN7xiL1jchXkMLMn/Fse8jusxXfMF0DYFUYOXfro+ILGw6kCyLkgK5xhArKYahlUqVrHCSQA3PDG3G7F21HtYXhV0ZFnyrwiXZTOpKshMW7TLGYcnhbHbXuyHW4JpoFcFRuHmCZODBtQrfF/KbEAZ06P+8=
file_glob: true
file: ${HOME}/build/${TRAVIS_REPO_SLUG}/dist/rust_fst*.whl
skip_cleanup: true
on:
tags: true
repo: jbaiter/python-rust-fst
- provider: pypi
user: jbaiter
password:
secure: rjroeCazKXEzIc9ROgu6ifqXU6ZN2ihGGuUTE9lZ3dW9zwdfCYS3eCMhW9FrM/hXIj9Sd7SSAl7onHfGj7Fe2R7PkR8BFKwYUKsn8E2R6vnsUzQC23Cb5SXlEWFBIbZm7ATmsgiPxX61jHXXn/PupHM3kU1FRaBLADXhkO6flA2tZKFXSZ947RR+CQKKKJlkoW4gn7g8a+azWHMY6dDU7RBRHtC3Yz27ggM2iYIgdZvCfYLAJlsX+puxPk5YLZJus52zQ6xo7nG7xEkI66EsPuL98f979aGLhxrRA2aqvQXFr3CXMkXf2EHe23bbIspd+blShUnIGHPbmx1ODd+0tW0FiyDkciju+Q43Ffq/mW8jrUXPC5QCiTIQbBBQGUa9n6jV/SrKHA+HBQWUhwKEYO7kP+7LU1wRBtIje2woKj4XLFh7uN/UacT65adzQEpQmXxxNntjJrievosrlAssK2aqZtAiZNXJNWU0Ig6FV/mm9JgN/bdJEesiGZWmrJigSqk3OupwznwawRGtcndKFNgxDAbNahdgpgqyH3HCDvP35+3kUmu9s9TdXU9xuZee0vf2XY/THTQTg27zAHUNEBXUQf8as1N7f+MWkHE4zdizAErIyD5nNSaJgK5ixsEB6WUkZ/kVYKIFwyeTXtkn31F5/TxoCESC/XbmRPeE8r8=
skip_cleanup: true
on:
tags: true
repo: jbaiter/python-rust-fst