File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
box : mageinferno/magento2-php:7.0.8-fpm-3
2
2
services :
3
- - id : mysql :5.6
3
+ - id : integernet/mysql_ci :5.6
4
4
env :
5
5
MYSQL_ALLOW_EMPTY_PASSWORD : 1
6
6
- id : integernet/solr_ci:1.6.0
7
7
build :
8
8
steps :
9
9
- install-packages :
10
10
packages : git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev netcat-openbsd
11
- - script :
12
- name : " Wait for MySQL connection"
13
- code : |
14
- while ! nc -q 1 $MYSQL_PORT_3306_TCP_ADDR $MYSQL_PORT_3306_TCP_PORT </dev/null; do echo -n . && sleep 3; done
15
11
- add-ssh-key :
16
12
keyname : GITHUB_DEPLOY
17
13
host : github.com
18
14
- add-to-known_hosts :
19
15
hostname : github.com
20
16
fingerprint : 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
17
+ - script :
18
+ name : " Wait for MySQL connection"
19
+ code : |
20
+ while ! nc -q 1 $MYSQL_CI_PORT_3306_TCP_ADDR $MYSQL_CI_PORT_3306_TCP_PORT </dev/null; do echo -n . && sleep 3; done
21
21
- script :
22
22
name : set up and run integration tests
23
23
code : |
28
28
git add -A
29
29
git commit --allow-empty -m "tmp"
30
30
export MODULE_DIR=`pwd`
31
- export M2SETUP_DB_HOST=$MYSQL_PORT_3306_TCP_ADDR
31
+ export M2SETUP_DB_HOST=$MYSQL_CI_PORT_3306_TCP_ADDR
32
32
export M2SETUP_DB_USER=root
33
- export M2SETUP_DB_PASSWORD=$MYSQL_ENV_MYSQL_ROOT_PASSWORD
33
+ export M2SETUP_DB_PASSWORD=$MYSQL_CI_ENV_MYSQL_ROOT_PASSWORD
34
34
export M2SETUP_DB_NAME=magento
35
35
export M2SETUP_BASE_URL=http://m2.localhost:8000/
36
36
export M2SETUP_ADMIN_FIRSTNAME=Admin
You can’t perform that action at this time.
0 commit comments