Skip to content
Snippets Groups Projects
Commit f775aa3e authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

SW-394: Playing with gitlab CI yaml file

parent 98d96597
No related branches found
No related tags found
1 merge request!80SW-830: Resolve SW-394
......@@ -2,15 +2,21 @@ image: centos:7
before_script:
- yum -y groupinstall 'Development Tools'
- yum -y install cmake
- yum -y install cmake epel-release python3 python3-devel python3-pip
stages:
- build
- test
build:
build_TriggerServices:
stage:
- build
script:
- echo "Building..."
- PACKAGE=TriggerServices
- echo "[$PACKAGE] Installing dependencies..."
- yum -y install log4cplus-devel postgresql-devel openldap-devel readline-devel qpid-cpp-server qpid-cpp-client-devel qpid-tools
- pip3 install kombu psycopg2 requests lxml xmljson pygcn python-dateutil django djangorestframework djangorestframework-xml django-auth-ldap mysql-connector testing.mysqld testing.postgresql
- echo "[$PACKAGE] Building..."
- mkdir -p build/gnucxx11_opt
- cd build/gnucxx11_opt
- cmake -DBUILD_PACKAGES=TriggerServices ../..
......@@ -21,6 +27,8 @@ build:
- build/
test:
stage:
- test
script:
- echo "Testing..."
- ctest
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment