Skip to content

Instantly share code, notes, and snippets.

View mnocon's full-sized avatar

Marek Nocoń mnocon

View GitHub Profile

Przykłady na podstawie https://github.com/ibexa/calendar/pull/2

  1. Zaczynamy od dodania nowej paczki:
composer config repositories.branding vcs https://github.com/ibexa/namespace-compatibility.git
composer require ibexa/namespace-compatibility
  1. Generujemy aktualne classmapy:
cd vendor/ibexa/namespace-compatibility
MacBook-Pro:test mareknocon$ composer require ibexa/experience:^3.3.x-dev -W
Warning: Accessing 127.0.0.1 over http which is an insecure protocol.
./composer.json has been updated
Running composer update ibexa/experience --with-all-dependencies
Loading composer repositories with package information
Warning: Accessing 127.0.0.1 over http which is an insecure protocol.
Restricting packages listed in "symfony/symfony" to "5.2.*"
Updating dependencies
Lock file operations: 152 installs, 1 update, 0 removals
- Locking babdev/pagerfanta-bundle (v2.10.0)

HOW TO: Run Behat tests on Travis using a dependency

Description

This document describes how to run Behat tests on Travis when there are multiple dependencies that need to be tied together.

Step 1 - preparing branches

In order to be able to use your branches in other Pull Requests they need to be on ezsystems repository. Otherwise you might encouncer GitHub API limits which will stop the process.