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 os: osx
env: env:
- PYENV_PYTHON_VERSION=3.5.0 - PYENV_PYTHON_VERSION=3.5.0
cache:
directories:
- "$HOME/.pyenv"
before_install: before_install:
# Install and configure pyenv - alias enable_pyenv=eval "$(pyenv virtualenv-init -)"
- ci/travis/before_install.sh - ci/travis/before_install.sh
install: install:
- pyenv activate sakia-env - ci/travis/build.sh
- pip install coveralls cx_Freeze
- pip install -r requirements.txt
- python gen_resources.py
- python gen_translations.py
- python setup.py build
script: script:
- coverage run --source=sakia.core,sakia.gui,sakia.models run_tests.py - ci/travis/test.sh
after_success: after_success:
- coverage -rm - ci/travis/after_success.sh
- coveralls
cache: before_deploy: zip -r sakia-${TRAVIS_OS_NAME}.zip build/
directories:
- $HOME/.pyenv deploy:
\ No newline at end of file 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 update
brew install libsodium brew install libsodium
...@@ -12,7 +13,7 @@ eval "$(pyenv virtualenv-init -)" ...@@ -12,7 +13,7 @@ eval "$(pyenv virtualenv-init -)"
pyenv activate sakia-env pyenv activate sakia-env
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
echo "Installing pyenv" echo "Sakia env cache cleared, rebuilding it..."
env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install $PYENV_PYTHON_VERSION env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install $PYENV_PYTHON_VERSION
pyenv shell $PYENV_PYTHON_VERSION pyenv shell $PYENV_PYTHON_VERSION
...@@ -35,7 +36,7 @@ then ...@@ -35,7 +36,7 @@ then
cd PyQt-gpl-5.5.1/ cd PyQt-gpl-5.5.1/
pyenv activate sakia-env pyenv activate sakia-env
python configure.py --verbose --confirm-license python configure.py --verbose --confirm-license
make && make install make -j 2 && make install
pyenv rehash pyenv rehash
cd $HOME/sakia 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