Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
2db19fef
Commit
2db19fef
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Finally ?
parent
2b0dc8fb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+19
-18
19 additions, 18 deletions
.travis.yml
ci/travis/before_install.sh
+3
-2
3 additions, 2 deletions
ci/travis/before_install.sh
ci/travis/build.sh
+9
-0
9 additions, 0 deletions
ci/travis/build.sh
with
31 additions
and
20 deletions
.travis.yml
+
19
−
18
View file @
2db19fef
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
This diff is collapsed.
Click to expand it.
ci/travis/before_install.sh
+
3
−
2
View file @
2db19fef
#!/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
...
...
This diff is collapsed.
Click to expand it.
ci/travis/build.sh
+
9
−
0
View file @
2db19fef
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment