Passed
Push — master ( 7ea048...7b7058 )
by Björn
05:15
created

Checkout Config

checks:
    php: true
    javascript: true
filter:
    paths:
        - module/Application/src/*
        - module/Admin/src/*
        - module/UIComponents/src/*
    excluded_paths:
        - test/*
        - vendor/*
        - public/*
        - puphpet/*
coding_style:
    php: {  }
build:
    environment:
        php: '7.0'
        mysql: true
        memcached: true
        selenium: true
        timezone: 'Europe/Berlin'
        hosts:
            myapplication.test: '127.0.0.1'

        apache2:
            modules: ['rewrite']
            sites:
                my-application:
                    web_root: 'public/'
                    host: 'myapplication.test'
    tests:
        before:
            - 'ifconfig'
            - 'curl http://ipinfo.io/ip'
            - 'mysql -u root -e "CREATE DATABASE dp_mydemo"'
            - 'mysql -u root dp_mydemo < sql/install.sql'
            - 'mysql -u root dp_mydemo < sql/demo.sql'
            - 'cp config/autoload/database.local.dist.php config/autoload/database.local.php'
            - sed -i "s/_MYSQL_HOST_/127.0.0.1/g" config/autoload/database.local.php
            - sed -i "s/_MYSQL_DATABASE_/dp_mydemo/g" config/autoload/database.local.php
            - sed -i "s/_MYSQL_USER_/root/g" config/autoload/database.local.php
            - sed -i "s/_MYSQL_PASSWORD_//" config/autoload/database.local.php
        override:
            -
                command: './vendor/bin/phpunit -c ./module/Application/test --coverage-clover=my-application.clover'
                coverage:
                    file: 'my-application.clover'
                    format: 'php-clover'

Repository Config

before_commands:
    - 'apt-get install git git-core'
    - 'ifconfig'
    - 'wget http://ipinfo.io/ip -qO -'

# language: php

# tests: true