Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
PRRT
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LARN
PRRT
Commits
91cbec95
Commit
91cbec95
authored
Oct 18, 2017
by
Andreas Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor .gitlab-ci.yml. Python bindings are automatically tested.
parent
c80f541f
Pipeline
#1609
failed with stages
in 2 minutes and 10 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
.gitlab-ci.yml
.gitlab-ci.yml
+15
-7
No files found.
.gitlab-ci.yml
View file @
91cbec95
...
@@ -9,7 +9,7 @@ stages:
...
@@ -9,7 +9,7 @@ stages:
-
deploy
-
deploy
-
clean
-
clean
build
_
prrt
:
build
:
prrt:
stage
:
build
stage
:
build
tags
:
tags
:
-
cmake
-
cmake
...
@@ -27,7 +27,7 @@ build_prrt:
...
@@ -27,7 +27,7 @@ build_prrt:
-
CC=gcc-5 CXX=g++-5 cmake . -DPRRT_TESTS=1
-
CC=gcc-5 CXX=g++-5 cmake . -DPRRT_TESTS=1
-
make
-
make
build
_
container
:
build
:
container:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
...
@@ -38,19 +38,28 @@ build_container:
...
@@ -38,19 +38,28 @@ build_container:
-
docker push $CI_REGISTRY_IMAGE:$DOCKER_TAG
-
docker push $CI_REGISTRY_IMAGE:$DOCKER_TAG
-
docker rmi $CI_REGISTRY_IMAGE:$DOCKER_TAG
-
docker rmi $CI_REGISTRY_IMAGE:$DOCKER_TAG
test
_
prrt_mem
:
test
:
prrt_mem:
stage
:
test
stage
:
test
dependencies
:
-
build:prrt
tags
:
tags
:
-
valgrind
-
valgrind
script
:
script
:
-
bash memtest.sh
-
bash memtest.sh
test
_
prrt_functional
:
test
:
prrt_functional:
stage
:
test
stage
:
test
dependencies
:
-
build:prrt
script
:
script
:
-
./bin/prrtTests
-
./bin/prrtTests
package_pypi
:
test:prrt_python_bindings:
stage
:
test
script
:
-
sh build.sh
deploy:pypi:
stage
:
deploy
stage
:
deploy
tags
:
tags
:
-
python3
-
python3
...
@@ -65,9 +74,8 @@ package_pypi:
...
@@ -65,9 +74,8 @@ package_pypi:
-
echo "password=$PYPI_PASSWORD" >> ~/.pypirc
-
echo "password=$PYPI_PASSWORD" >> ~/.pypirc
-
python3 setup.py check sdist bdist upload -r on
-
python3 setup.py check sdist bdist upload -r on
clean
_
pypirc
:
clean
:
pypirc:
stage
:
clean
stage
:
clean
when
:
always
when
:
always
script
:
script
:
-
rm -vf ~/.pypirc
-
rm -vf ~/.pypirc
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