2020-08-10 22:27:02 +02:00
|
|
|
# This is a sample build configuration for all languages.
|
|
|
|
# Check our guides at https://confluence.atlassian.com/x/VYk8Lw for more examples.
|
|
|
|
# Only use spaces to indent your .yml configuration.
|
|
|
|
# -----
|
|
|
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
2017-06-25 22:05:06 +02:00
|
|
|
|
2020-08-10 22:27:02 +02:00
|
|
|
image: sutoj/builder:bionic
|
2017-06-25 22:05:06 +02:00
|
|
|
clone:
|
2020-08-10 22:27:02 +02:00
|
|
|
depth: 5
|
2016-10-17 21:54:12 +02:00
|
|
|
|
2020-08-10 22:27:02 +02:00
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- step:
|
2016-10-17 21:54:12 +02:00
|
|
|
script:
|
2020-08-10 22:27:02 +02:00
|
|
|
- service mysql start
|
|
|
|
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb
|
|
|
|
- make clean all install
|
|
|
|
- mysql -u piler -ppiler123 piler1 < /usr/share/piler/db-mysql.sql
|
|
|
|
- cd unit_tests
|
|
|
|
- ./run.sh
|
|
|
|
- cd ..
|
|
|
|
- phpunit
|