protected function setupBuild()
    {
        $this->buildPath = $this->build->getBuildPath();

        $this->interpolator->setupInterpolationVars(
            $this->build,
            $this->buildPath,
            PHPCI_URL
        );

        $this->commandExecutor->setBuildPath($this->buildPath);

        // Create a working copy of the project:
        if (!$this->build->createWorkingCopy($this, $this->buildPath)) {
            throw new \Exception(Lang::get('could_not_create_working'));
        }

        // Does the project's phpci.yml request verbose mode?
        if (!isset($this->config['build_settings']['verbose']) || !$this->config['build_settings']['verbose']) {
            $this->verbose = false;
        }

        // Does the project have any paths it wants plugins to ignore?
        if (isset($this->config['build_settings']['ignore'])) {
            $this->ignore = $this->config['build_settings']['ignore'];
        }

        $this->buildLogger->logSuccess(Lang::get('working_copy_created', $this->buildPath));
        return true;
    }
protected function setupBuild()
    {
        $this->buildPath = $this->build->getBuildPath();

        $this->interpolator->setupInterpolationVars(
            $this->build,
            $this->buildPath,
            PHPCI_URL
        );

        $this->commandExecutor->setBuildPath($this->buildPath);

        // Create a working copy of the project:
        if (!$this->build->createWorkingCopy($this, $this->buildPath)) {
            throw new \Exception(Lang::get('could_not_create_working'));
        }

        // Does the project's phpci.yml request verbose mode?
        if (!isset($this->config['build_settings']['verbose']) || !$this->config['build_settings']['verbose']) {
            $this->verbose = false;
        }

        // Does the project have any paths it wants plugins to ignore?
        if (isset($this->config['build_settings']['ignore'])) {
            $this->ignore = $this->config['build_settings']['ignore'];
        }

        $this->buildLogger->logSuccess(Lang::get('working_copy_created', $this->buildPath));
        return true;
    }
protected function setupBuild ( ) { $ this -> buildPath = $ this -> build -> getBuildPath ( ) ; $ this -> interpolator -> setupInterpolationVars ( $ this -> build , $ this -> buildPath , PHPCI_URL ) ; $ this -> commandExecutor -> setBuildPath ( $ this -> buildPath ) ; // Create a working copy of the project: if ( ! $ this -> build -> createWorkingCopy ( $ this , $ this -> buildPath ) ) { throw new \ Exception ( Lang :: get ( 'could_not_create_working' ) ) ; } // Does the project's phpci.yml request verbose mode? if ( ! isset ( $ this -> config [ 'build_settings' ] [ 'verbose' ] ) || ! $ this -> config [ 'build_settings' ] [ 'verbose' ] ) { $ this -> verbose = false ; } // Does the project have any paths it wants plugins to ignore? if ( isset ( $ this -> config [ 'build_settings' ] [ 'ignore' ] ) ) { $ this -> ignore = $ this -> config [ 'build_settings' ] [ 'ignore' ] ; } $ this -> buildLogger -> logSuccess ( Lang :: get ( 'working_copy_created' , $ this -> buildPath ) ) ; return true ; }
Set up a working copy of the project for building.
Set up a working copy of the project for building .