Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
AMBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Show more breadcrumbs
esde
machine-learning
AMBS
Commits
a0114687
Commit
a0114687
authored
5 years ago
by
Bing Gong
Browse files
Options
Downloads
Patches
Plain Diff
add gitlab-ci
parent
2d95b2a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci.yml
+68
-0
68 additions, 0 deletions
gitlab-ci.yml
with
68 additions
and
0 deletions
gitlab-ci.yml
0 → 100644
+
68
−
0
View file @
a0114687
stages
:
-
build
-
test
-
coverage
-
deploy
-
pages
build
:
tags
:
-
linux
stage
:
build
script
:
-
echo "Building"
-
mkdir build
-
touch build/info.txt
test
:
tags
:
-
linux
stage
:
test
script
:
-
zypper --non-interactive install python3-pip
-
zypper --non-interactive install python-devel
-
pip install --upgrade pip
-
pip install -r requirements.txt
-
python3 test/test_DataMgr.py
docs
:
tags
:
-
linux
stage
:
deploy
script
:
-
zypper --non-interactive install python3-pip
-
zypper --non-interactive install python3-devel
-
pip install sphinx
-
pip install --upgrade pip
-
pip install -r requirements.txt
-
mkdir documents
-
cd docs
-
make html
-
cp -r _build/html/* ../documents/.
-
cd ../documents
-
ls -l
artifacts
:
name
:
docs
paths
:
-
documents/
when
:
always
expire_in
:
1 week
pages
:
tags
:
-
linux
stage
:
pages
script
:
-
mkdir -p public/docs
-
cp -af documents/ public/docs/
-
ls public/docs/
artifacts
:
name
:
pages
when
:
always
paths
:
-
public/
-
documents/
\ 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