mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:10:13 +01:00
Updated bitbucket pipeline script
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
4a8baa3b2e
commit
ff790fcd24
@ -4,7 +4,7 @@
|
|||||||
# -----
|
# -----
|
||||||
# You can specify a custom docker image from Docker Hub as your build environment.
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
||||||
|
|
||||||
image: sutoj/builder:xenial
|
image: sutoj/builder:bionic
|
||||||
clone:
|
clone:
|
||||||
depth: 5
|
depth: 5
|
||||||
|
|
||||||
@ -12,19 +12,11 @@ pipelines:
|
|||||||
default:
|
default:
|
||||||
- step:
|
- step:
|
||||||
script:
|
script:
|
||||||
- echo "Everything is awesome!"
|
- service mysql start
|
||||||
|
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb
|
||||||
branches:
|
- make clean all install
|
||||||
epoll:
|
- mysql -u piler -ppiler123 piler1 < /usr/share/piler/db-mysql.sql
|
||||||
- step:
|
- cd unit_tests
|
||||||
script:
|
- ./run.sh
|
||||||
- service mysql start
|
- cd ..
|
||||||
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-database=mariadb --enable-tcpwrappers
|
- phpunit
|
||||||
- make clean all install
|
|
||||||
- echo "create database piler character set 'utf8mb4'" | mysql
|
|
||||||
- echo "grant all privileges on piler.* to piler@localhost identified by 'piler123'" | mysql
|
|
||||||
- echo "flush privileges" | mysql
|
|
||||||
- mysql -u piler -ppiler123 piler < /usr/share/piler/db-mysql.sql
|
|
||||||
- cd unit_tests
|
|
||||||
- ./run.sh
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user