box: meanbee/magento2-php:7.1-cli
services:
  - id: integernet/mysql_ci:5.6
    env:
      MYSQL_ROOT_PASSWORD: TOTALLYrandom
build:
  steps:
    - install-packages:
        packages: git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev netcat-openbsd
    - add-to-known_hosts:
        hostname: github.com
        fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
    - script:
        name: "Wait for MySQL connection"
        code: |
          while ! nc -q 1 $MYSQL_CI_PORT_3306_TCP_ADDR $MYSQL_CI_PORT_3306_TCP_PORT </dev/null; do echo -n . && sleep 3; done
    - script:
        name: set up test system
        code: build/install-magento.sh 2.2.4
    - script:
        name: run integration tests
        code: build/integration-tests.sh


box: meanbee/magento2-php:7.1-cli
services:
  - id: integernet/mysql_ci:5.6
    env:
      MYSQL_ROOT_PASSWORD: TOTALLYrandom
build:
  steps:
    - install-packages:
        packages: git zip mysql-client libmcrypt-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev netcat-openbsd
    - add-to-known_hosts:
        hostname: github.com
        fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
    - script:
        name: "Wait for MySQL connection"
        code: |
          while ! nc -q 1 $MYSQL_CI_PORT_3306_TCP_ADDR $MYSQL_CI_PORT_3306_TCP_PORT </dev/null; do echo -n . && sleep 3; done
    - script:
        name: set up test system
        code: build/install-magento.sh 2.2.3
    - script:
        name: run integration tests
        code: build/integration-tests.sh


Use Magento 2.2.3 as 2.2.4 contains missing dependency
Use Magento 2.2.3 as 2.2.4 contains missing dependency
