Loading .gitlab-ci.yml +15 −7 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ stages: - deploy - clean build_prrt: build:prrt: stage: build tags: - cmake Loading @@ -27,7 +27,7 @@ build_prrt: - CC=gcc-5 CXX=g++-5 cmake . -DPRRT_TESTS=1 - make build_container: build:container: stage: build tags: - docker Loading @@ -38,19 +38,28 @@ build_container: - docker push $CI_REGISTRY_IMAGE:$DOCKER_TAG - docker rmi $CI_REGISTRY_IMAGE:$DOCKER_TAG test_prrt_mem: test:prrt_mem: stage: test dependencies: - build:prrt tags: - valgrind script: - bash memtest.sh test_prrt_functional: test:prrt_functional: stage: test dependencies: - build:prrt script: - ./bin/prrtTests package_pypi: test:prrt_python_bindings: stage: test script: - sh build.sh deploy:pypi: stage: deploy tags: - python3 Loading @@ -65,9 +74,8 @@ package_pypi: - echo "password=$PYPI_PASSWORD" >> ~/.pypirc - python3 setup.py check sdist bdist upload -r on clean_pypirc: clean:pypirc: stage: clean when: always script: - rm -vf ~/.pypirc Loading
.gitlab-ci.yml +15 −7 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ stages: - deploy - clean build_prrt: build:prrt: stage: build tags: - cmake Loading @@ -27,7 +27,7 @@ build_prrt: - CC=gcc-5 CXX=g++-5 cmake . -DPRRT_TESTS=1 - make build_container: build:container: stage: build tags: - docker Loading @@ -38,19 +38,28 @@ build_container: - docker push $CI_REGISTRY_IMAGE:$DOCKER_TAG - docker rmi $CI_REGISTRY_IMAGE:$DOCKER_TAG test_prrt_mem: test:prrt_mem: stage: test dependencies: - build:prrt tags: - valgrind script: - bash memtest.sh test_prrt_functional: test:prrt_functional: stage: test dependencies: - build:prrt script: - ./bin/prrtTests package_pypi: test:prrt_python_bindings: stage: test script: - sh build.sh deploy:pypi: stage: deploy tags: - python3 Loading @@ -65,9 +74,8 @@ package_pypi: - echo "password=$PYPI_PASSWORD" >> ~/.pypirc - python3 setup.py check sdist bdist upload -r on clean_pypirc: clean:pypirc: stage: clean when: always script: - rm -vf ~/.pypirc