Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
Pump version to 0.0.5 to test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
McSinyx committed Feb 1, 2020
1 parent 65dc8ac commit 3a6998f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ env:
global:
- TWINE_USERNAME=__token__
- CIBW_SKIP="cp27-* cp35-* *-manylinux_i686"
- CIBW_BEFORE_BUILD_LINUX='if [ ! -d openal-soft ]; then yum install -y git cmake alsa-lib-devel pulseaudio-libs-devel jack-audio-connection-kit-devel libvorbis-devel opusfile-devel libsndfile-devel && pip install cmake>=3 && git clone https://github.com/kcat/openal-soft && cd openal-soft/build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. && cmake --build . --parallel `nproc` --target install --config Release && git clone https://github.com/kcat/alure && mkdir alure/build && cd alure/build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. && cmake --build . --parallel `nproc` --target install --config Release && pip uninstall -y cmake; fi'
- CIBW_BEFORE_BUILD_LINUX=scripts/manylinux2014-before-build
- CIBW_MANYLINUX_X86_64_IMAGE=manylinux2014
- CIBW_TEST_REQUIRES=tox
- CIBW_TEST_COMMAND="tox -c /project -e py"
- CIBW_TEST_COMMAND_LINUX="tox -c /project -e py"

jobs:
include:
- services: docker

install:
- pip install twine Cython cibuildwheel
install: pip install twine cibuildwheel

script:
- cibuildwheel --output-dir=dist
script: cibuildwheel --output-dir=dist

after_success:
- if [[ $TRAVIS_TAG ]]; then twine upload dist/*.whl; fi
deploy:
skip_cleanup: true
provider: script
script: twine upload dist/*.whl
on:
branch: master
tags: true
18 changes: 18 additions & 0 deletions scripts/manylinux2014-before-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
if [ ! -d openal-soft ]
then
yum install -y git cmake \
alsa-lib-devel pulseaudio-libs-devel jack-audio-connection-kit-devel \
libvorbis-devel opusfile-devel libsndfile-devel
pip install cmake>=3
git clone https://github.com/kcat/openal-soft
cd openal-soft/build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
cmake --build . --parallel `nproc` --target install --config Release
git clone https://github.com/kcat/alure
mkdir alure/build
cd alure/build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
cmake --build . --parallel `nproc` --target install --config Release
pip uninstall -y cmake
fi
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = palace
version = 0.0.3
version = 0.0.5
url = https://github.com/McSinyx/palace
author = Nguyễn Gia Phong
author_email = [email protected]
Expand Down

0 comments on commit 3a6998f

Please sign in to comment.