summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-07 22:18:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-07 22:43:51 +0300
commitd0304d93b4ef69f0f1e170c1ce0ecc87056c27e8 (patch)
tree33af39d521243503f2a77f3c44aa143e50153726 /.gitlab-ci.yml
parent4816852807bdb8607ef1b1c5683f6ace588bdee5 (diff)
downloadserverdata-d0304d93b4ef69f0f1e170c1ce0ecc87056c27e8.tar.gz
serverdata-d0304d93b4ef69f0f1e170c1ce0ecc87056c27e8.tar.bz2
serverdata-d0304d93b4ef69f0f1e170c1ce0ecc87056c27e8.tar.xz
serverdata-d0304d93b4ef69f0f1e170c1ce0ecc87056c27e8.zip
Into ci add mysql and mariadb with different versions.
Testing only import scripts and not running servers.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9ec82a3c..e98e8b75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,26 @@ mysql_init_latest:
services:
- mysql:latest
+mysql_init_5.5:
+ stage: build
+ script:
+ - ./.tools/jobs/install.sh "mysql-client"
+ - ./.tools/jobs/clonedata.sh
+ - ./.tools/jobs/initdb.sh mysql
+ image: debian:unstable
+ services:
+ - mysql:5.5
+
+mysql_init_5.6:
+ stage: build
+ script:
+ - ./.tools/jobs/install.sh "mysql-client"
+ - ./.tools/jobs/clonedata.sh
+ - ./.tools/jobs/initdb.sh mysql
+ image: debian:unstable
+ services:
+ - mysql:5.6
+
mariadb_init_latest:
stage: build
script:
@@ -45,6 +65,26 @@ mariadb_init_latest:
services:
- mariadb:latest
+mariadb_init_10.0:
+ stage: build
+ script:
+ - ./.tools/jobs/install.sh "mysql-client"
+ - ./.tools/jobs/clonedata.sh
+ - ./.tools/jobs/initdb.sh mariadb
+ image: debian:unstable
+ services:
+ - mariadb:10.0
+
+mariadb_init_5.5:
+ stage: build
+ script:
+ - ./.tools/jobs/install.sh "mysql-client"
+ - ./.tools/jobs/clonedata.sh
+ - ./.tools/jobs/initdb.sh mariadb
+ image: debian:unstable
+ services:
+ - mariadb:5.5
+
mysql_run_latest:
stage: test
script: