Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.core
Commits
9dd0792a
Commit
9dd0792a
authored
Apr 24, 2018
by
André Anjos
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add script for local testing
parent
067cef3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
scripts/local_test.sh
scripts/local_test.sh
+39
-0
No files found.
scripts/local_test.sh
0 → 100755
View file @
9dd0792a
#!/usr/bin/env bash
# Runs the CI build instructions on your local machine, for tests
# The aim of this script is to serve as basis for testing the CI system without
# actually incurring in builds. You may help yourself by modifying it for
# different purposes
export
PYTHON_VERSION
=
3.6
export
CI_PROJECT_URL
=
https://gitlab.idiap.ch/beat/beat.core
export
CI_PROJECT_DIR
=
beat
export
CI_PROJECT_PATH
=
beat/beat.core
export
CI_PROJECT_NAME
=
beat.core
export
CI_COMMIT_REF_NAME
=
master
export
PYPIUSER
=
pypiuser
export
PYPIPASS
=
pypipass
export
DOCUSER
=
docuser
export
DOCPASS
=
docpass
export
CONDA_ROOT
=
${
PWD
}
/miniconda
export
DOCSERVER
=
https://www.idiap.ch/software/bob
# Build stage
mkdir
_ci
curl
--silent
"https://gitlab.idiap.ch/bob/bob.admin/raw/master/gitlab/install.sh"
>
_ci/install.sh
chmod
755 _ci/install.sh
./_ci/install.sh _ci master
#installs ci support scripts
sed
-i
'~'
-e
's;public/;;g'
_ci/functions.sh
./_ci/before_build.sh
./_ci/build.sh
./_ci/after_build.sh
# Docker-based Test stage
mv
${
CONDA_ROOT
}
/conda-bld
.
./_ci/before_build.sh
mv
conda-bld
${
CONDA_ROOT
}
./scripts/before_test.sh
BOB_TEST_ONLY
=
true
export
BEAT_DOCKER_TESTS
=
true
./_ci/build.sh
./_ci/after_build.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment