Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
bob
bob.admin
Commits
66687c90
Commit
66687c90
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Don't change venv (doesn't work on macosx)
parent
5d3e3096
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
gitlab/before_test.sh
+2
-2
2 additions, 2 deletions
gitlab/before_test.sh
gitlab/build.sh
+4
-9
4 additions, 9 deletions
gitlab/build.sh
gitlab/functions.sh
+1
-1
1 addition, 1 deletion
gitlab/functions.sh
gitlab/test.sh
+3
-3
3 additions, 3 deletions
gitlab/test.sh
with
10 additions
and
15 deletions
gitlab/before_test.sh
+
2
−
2
View file @
66687c90
...
...
@@ -20,7 +20,7 @@ fi
# zc.recipe.egg needs some special installation instructions
if
[
"
${
CI_PROJECT_NAME
}
"
==
"bob.buildout"
]
;
then
run_cmd
${
use_pip
}
install
--upgrade
--no-binary
":all:"
zc.recipe.egg
run_cmd
_ld
${
use_pip
}
install
--upgrade
--no-binary
":all:"
zc.recipe.egg
fi
run_cmd
${
use_pip
}
install
--upgrade
--use-wheel
--no-index
--pre
dist/
*
.whl
run_cmd
_ld
${
use_pip
}
install
--upgrade
--use-wheel
--no-index
--pre
dist/
*
.whl
This diff is collapsed.
Click to expand it.
gitlab/build.sh
+
4
−
9
View file @
66687c90
...
...
@@ -5,23 +5,18 @@ source $(dirname ${0})/functions.sh
run_cmd_ld ./bin/buildout
# Corrects the virtualenv to take LD_LIBRARY_PATH into account
if
[
${
ARCH
}
==
"linux"
]
;
then
fix_venv
fi
if
[
-x
./bin/bob_dbmanage.py
]
;
then
run_cmd ./bin/bob_dbmanage.py all download
--force
;
run_cmd
_ld
./bin/bob_dbmanage.py all download
--force
;
fi
if
[
-d
./doc
]
;
then
run_cmd ./bin/sphinx-build doc sphinx
run_cmd
_ld
./bin/sphinx-build doc sphinx
fi
if
[
-z
"
${
WHEEL_TAG
}
"
]
;
then
# C/C++ extensions
run_cmd ./bin/python setup.py bdist_wheel
run_cmd
_ld
./bin/python setup.py bdist_wheel
else
# Python-only packages
run_cmd ./bin/python setup.py bdist_wheel
--python-tag
${
WHEEL_TAG
}
run_cmd
_ld
./bin/python setup.py bdist_wheel
--python-tag
${
WHEEL_TAG
}
fi
This diff is collapsed.
Click to expand it.
gitlab/functions.sh
+
1
−
1
View file @
66687c90
...
...
@@ -73,7 +73,7 @@ run_cmd_ld() {
# Runs setup.py
setup
()
{
run_cmd
${
PREFIX
}
/bin/python setup.py
${
@
}
run_cmd
_ld
${
PREFIX
}
/bin/python setup.py
${
@
}
}
...
...
This diff is collapsed.
Click to expand it.
gitlab/test.sh
+
3
−
3
View file @
66687c90
...
...
@@ -6,8 +6,8 @@ source $(dirname ${0})/functions.sh
run_cmd
cd
${
PREFIX
}
# The tests:
run_cmd
${
PREFIX
}
/bin/python
${
BOB_PREFIX_PATH
}
/bin/coverage run
--source
=
${
CI_PROJECT_NAME
}
${
BOB_PREFIX_PATH
}
/bin/nosetests
-sv
${
CI_PROJECT_NAME
}
run_cmd
${
PREFIX
}
/bin/python
${
BOB_PREFIX_PATH
}
/bin/coverage report
run_cmd
${
PREFIX
}
/bin/python
${
BOB_PREFIX_PATH
}
/bin/sphinx-build
-b
doctest
${
CI_PROJECT_DIR
}
/doc
${
CI_PROJECT_NAME
}
/sphinx
run_cmd
_ld
${
PREFIX
}
/bin/python
${
BOB_PREFIX_PATH
}
/bin/coverage run
--source
=
${
CI_PROJECT_NAME
}
${
BOB_PREFIX_PATH
}
/bin/nosetests
-sv
${
CI_PROJECT_NAME
}
run_cmd
_ld
${
PREFIX
}
/bin/python
${
BOB_PREFIX_PATH
}
/bin/coverage report
run_cmd
_ld
${
PREFIX
}
/bin/python
${
BOB_PREFIX_PATH
}
/bin/sphinx-build
-b
doctest
${
CI_PROJECT_DIR
}
/doc
${
CI_PROJECT_NAME
}
/sphinx
run_cmd
cd
${
CI_PROJECT_DIR
}
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