Skip to content

Commit

Permalink
Try to fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter committed May 26, 2016
1 parent 3caf73f commit 7c41468
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,38 @@ matrix:
# PRE_CMD=linux32

install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip install appveyor-artifacts; fi
- 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/

after_success:
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
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir -p dist; mv wheelhouse/* dist; ls dist; 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 wheelhouse/* 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/*
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
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def __getattr__(cls, name):
# built documents.
#
# The short X.Y version.
version = u'0.1'
version = u'0.1.1'
# The full version, including alpha/beta/rc tags.
release = u'0.1'
release = u'0.1.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion fstwrapper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "fst-wrapper"
version = "0.0.1"
version = "0.1.1"
authors = ["Johannes Baiter <[email protected]>"]

[lib]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='rust-fst',
version='0.1',
version='0.1.1',
author='Johannes Baiter',
author_email='[email protected]',
description=('Python bindings for the Rust `fst` create, providing sets '
Expand Down

0 comments on commit 7c41468

Please sign in to comment.