Skip to content
Snippets Groups Projects
Commit 2db19fef authored by inso's avatar inso
Browse files

Finally ?

parent 2b0dc8fb
No related branches found
No related tags found
No related merge requests found
os: osx
env:
- PYENV_PYTHON_VERSION=3.5.0
- PYENV_PYTHON_VERSION=3.5.0
cache:
directories:
- "$HOME/.pyenv"
before_install:
# Install and configure pyenv
- ci/travis/before_install.sh
- alias enable_pyenv=eval "$(pyenv virtualenv-init -)"
- ci/travis/before_install.sh
install:
- pyenv activate sakia-env
- pip install coveralls cx_Freeze
- pip install -r requirements.txt
- python gen_resources.py
- python gen_translations.py
- python setup.py build
- ci/travis/build.sh
script:
- coverage run --source=sakia.core,sakia.gui,sakia.models run_tests.py
- ci/travis/test.sh
after_success:
- coverage -rm
- coveralls
- ci/travis/after_success.sh
cache:
directories:
- $HOME/.pyenv
\ No newline at end of file
before_deploy: zip -r sakia-${TRAVIS_OS_NAME}.zip build/
deploy:
provider: releases
api_key:
secure: MUdvTDBeCxO9d/EpzIhr+QYra/KxgYkXX6177SjqWCWDqw9xB3fwSUj8I9ht9DGtwVdadtveumtvLw3pbtVIR0GtIPC9pyvtNz4j6T4Ei3TSE6+StXdMK4NnInvPeTRlobGL+9sZt9MwheJwZ8YGewhBcR0F5UzVfxWeSSrxmyk=
file: sakia-${TRAVIS_OS_NAME}.zip
skip_cleanup: true
on:
tags: true
#!/usr/bin/env bash
brew update
brew install libsodium
......@@ -12,7 +13,7 @@ eval "$(pyenv virtualenv-init -)"
pyenv activate sakia-env
if [ $? -ne 0 ]
then
echo "Installing pyenv"
echo "Sakia env cache cleared, rebuilding it..."
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install $PYENV_PYTHON_VERSION
pyenv shell $PYENV_PYTHON_VERSION
......@@ -35,7 +36,7 @@ then
cd PyQt-gpl-5.5.1/
pyenv activate sakia-env
python configure.py --verbose --confirm-license
make && make install
make -j 2 && make install
pyenv rehash
cd $HOME/sakia
......
#!/usr/bin/env bash
eval "$(pyenv virtualenv-init -)"
pyenv activate sakia-env
pip install coveralls cx_Freeze
pip install -r requirements.txt
python gen_resources.py
python gen_translations.py
python setup.py bdist_dmg
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment