Skip to content

Commit

Permalink
Remove Travis CI remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Nov 30, 2020
1 parent bb8549c commit d81fded
Show file tree
Hide file tree
Showing 42 changed files with 41 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .github/autolabeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Admin: ['src/Sylius/Bundle/AdminBundle/']
API: ['src/Sylius/Bundle/ApiBundle/']
Documentation: ['docs/']
Maintenance: ['etc/', '.travis.yml', '.symfony.insight.yaml', 'UPGRADE-*', 'README.md']
Maintenance: ['etc/', '.github/', '*.md']
Shop: ['src/Sylius/Bundle/ShopBundle/']
60 changes: 0 additions & 60 deletions etc/bash/common.lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@ exit_on_error() {
fi
}

# Argument 1: String to hash
text_md5sum() {
echo "$1" | md5sum | awk '{ print $1 }'
}

# Argument 1: File to hash
file_md5sum() {
md5sum "$1" | awk '{ print $1 }'
}

# Argument 1: Binary name
get_binary()
{
Expand All @@ -108,37 +98,11 @@ get_binary()
fi
}

get_number_of_jobs_for_parallel()
{
local jobs="100%"

if [[ "${TRAVIS}" = "true" ]]; then
jobs="2"
fi

echo "${jobs}"
}

get_sylius_path()
{
echo "$(cd "$(dirname "${BASH_SOURCE[0]}")/../../" && pwd)"
}

has_sylius_cache() {
if [[ ! -z "${SYLIUS_CACHE_DIR}" && -d "${SYLIUS_CACHE_DIR}" ]]; then
return 0
else
return 1
fi
}

inform_about_sylius_cache() {
if ! has_sylius_cache; then
print_warning "Sylius cache should be used, but it is not configured correctly."
print_warning "Check whether you have \$SYLIUS_CACHE_DIR set and if that directory exists."
fi
}

locate_packages() {
find "$(pwd)/src/Sylius" -mindepth 3 -maxdepth 3 -type f -name composer.json -exec dirname '{}' \;
}
Expand Down Expand Up @@ -171,27 +135,3 @@ cast_package_argument_to_package_path() {

echo "${package_path}"
}

# Argument 1: Package path or name
is_package_cache_fresh() {
local current_hash cached_hash
local package_path="$(cast_package_argument_to_package_path "$1")"
local cache_key="$(get_package_cache_key "$1")"

if [[ -f "${SYLIUS_CACHE_DIR}/composer-${cache_key}.lock" && -f "${SYLIUS_CACHE_DIR}/composer-${cache_key}.json.md5sum" ]]; then
current_hash="$(file_md5sum "${package_path}/composer.json")"
cached_hash="$(cat "${SYLIUS_CACHE_DIR}/composer-${cache_key}.json.md5sum")"

if [ "${current_hash}" = "${cached_hash}" ]; then
return 0
fi
fi

return 1
}

# Argument 1: Package path or name
get_package_cache_key()
{
text_md5sum "$(cast_package_argument_to_package_path "$1")"
}
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AddressingBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusAddressingBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusAddressingBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusAddressingBundle)
SyliusAddressingBundle
======================

Addresses management is a common task for almost every ecommerce application.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AdminApiBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusAdminApiBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusAdminApiBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusAdminApiBundle)
SyliusAdminApiBundle
===============

Sylius REST API bundle.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AdminBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusAdminBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusAdminBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusAdminBundle)
SyliusAdminBundle
=================

This bundle contains the Sylius administration panel.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/AttributeBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusAttributeBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusAttributeBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusAttributeBundle)
SyliusAttributeBundle
=====================

Attributes system for entities in Symfony2 applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ChannelBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusChannelBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusChannelBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusChannelBundle)
SyliusChannelBundle
===================

Symfony2 bundle for handling multiple channels in e-commerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/CoreBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusCoreBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusCoreBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusCoreBundle)
SyliusCoreBundle
================

Sylius Core Bundle integrates all other bundles into complete eCommerce solution for [Symfony2](https://symfony.com).
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/CurrencyBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusCurrencyBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusCurrencyBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusCurrencyBundle)
SyliusCurrencyBundle
====================

[**Symfony2**](https://symfony.com) integration of Sylius Currency processing component.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/CustomerBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusCustomerBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusCustomerBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusCustomerBundle)
SyliusCustomerBundle
==================

[**Symfony2**](https://symfony.com) integration of Sylius Customer management component.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/InventoryBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusInventoryBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusInventoryBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusInventoryBundle)
SyliusInventoryBundle
=====================

Flexible inventory management for [**Symfony2**](https://symfony.com) eCommerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/LocaleBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusLocaleBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusLocaleBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusLocaleBundle)
SyliusLocaleBundle
==================

[**Symfony2**](https://symfony.com) integration of Sylius Locale management component.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/MoneyBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusMoneyBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusMoneyBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusMoneyBundle)
SyliusMoneyBundle
=================

[**Symfony2**](https://symfony.com) integration with PHP Money library.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/OrderBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusOrderBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusOrderBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusOrderBundle)
SyliusOrderBundle
=================

Sales order bundle for [**Symfony2**](https://symfony.com) ecommerce applications. It allows you to start building you application with sensible and flexible models.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/PaymentBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusPaymentBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusPaymentBundle.png)](http://travis-ci.org/Sylius/SyliusPaymentBundle)
SyliusPaymentBundle
====================

Payments component integration for [**Symfony2**](https://symfony.com) eCommerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/PayumBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusPayumBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusPayumBundle.png)](http://travis-ci.org/Sylius/SyliusPayumBundle)
SyliusPayumBundle
=================

Payum integration for Sylius.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ProductBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusProductBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusProductBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusProductBundle)
SyliusProductBundle
===================

Products system for [**Symfony2**](https://symfony.com) applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/PromotionBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusPromotionBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusPromotionBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusPromotionBundle)
SyliusPromotionBundle
===================

Promotions engine for [**Symfony2**](https://symfony.com) eCommerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ReviewBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusReviewBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusReviewBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusReviewBundle)
SyliusReviewBundle
====================

Sylius
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ShippingBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusShippingBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusShippingBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusShippingBundle)
SyliusShippingBundle
====================

Shipping component integration for [**Symfony2**](https://symfony.com) eCommerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/ShopBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusShopBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusShopBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusShopBundle)
SyliusShopBundle
================

This bundle contains Sylius eCommerce storefront.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/TaxationBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusTaxationBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusTaxationBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusTaxationBundle)
SyliusTaxationBundle
====================

Customizable taxation system for [**Symfony2**](https://symfony.com) e-commerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/TaxonomyBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusTaxonomyBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusTaxonomyBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusTaxonomyBundle)
SyliusTaxonomyBundle
======================

Flexible categorization system based on [Spree Taxonomies system](http://guides.spreecommerce.org/user/configuring_taxonomies.html) for [**Symfony2**](https://symfony.com) eCommerce applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/UiBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusUiBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusUiBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusUiBundle)
SyliusUiBundle
==============

Sylius
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Bundle/UserBundle/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SyliusUserBundle [![Build status...](https://secure.travis-ci.org/Sylius/SyliusUserBundle.png?branch=master)](http://travis-ci.org/Sylius/SyliusUserBundle)
SyliusUserBundle
==================

[**Symfony2**](https://symfony.com) integration of Sylius User management component.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Addressing/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Addressing Component [![Build status...](https://secure.travis-ci.org/Sylius/Addressing.png?branch=master)](http://travis-ci.org/Sylius/Addressing)
Addressing Component
====================

Addresses management is a common task for almost every eCommerce project.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Attribute/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Attribute Component [![Build status...](https://secure.travis-ci.org/Sylius/Attribute.png?branch=master)](http://travis-ci.org/Sylius/Attribute)
Attribute Component
===================

Attributes engine for PHP objects.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Channel/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Channel Component [![Build status...](https://secure.travis-ci.org/Sylius/Channel.png?branch=master)](http://travis-ci.org/Sylius/Channel)
Channel Component
=================

E-Commerce PHP component for managing different sales channels.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Core/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Core Component [![Build status...](https://secure.travis-ci.org/Sylius/Core.png?branch=master)](http://travis-ci.org/Sylius/Core)
Core Component
==============

Sylius core - it integrates all other components into an eCommerce framework for PHP.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Currency/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Currency Component [![Build status...](https://secure.travis-ci.org/Sylius/Currency.png?branch=master)](http://travis-ci.org/Sylius/Currency)
Currency Component
===============

Currency converting engine for PHP objects.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Customer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Customer Component [![Build status...](https://secure.travis-ci.org/Sylius/Customer.png?branch=master)](http://travis-ci.org/Sylius/Customer)
Customer Component
================

Managing customers in PHP applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Inventory/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Inventory Component [![Build status...](https://secure.travis-ci.org/Sylius/Inventory.png?branch=master)](http://travis-ci.org/Sylius/Inventory)
Inventory Component
===================

Inventory management for PHP applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Locale/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Locale Component [![Build status...](https://secure.travis-ci.org/Sylius/Locale.png?branch=master)](http://travis-ci.org/Sylius/Locale)
Locale Component
================

Managing different locales in PHP applications.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Order/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Order Component [![Build status...](https://secure.travis-ci.org/Sylius/Order.png?branch=master)](http://travis-ci.org/Sylius/Order)
Order Component
===============

This component contains default Order model for PHP applications. It supports
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Payment/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Payment Component [![Build status...](https://secure.travis-ci.org/Sylius/Payment.png?branch=master)](http://travis-ci.org/Sylius/Payment)
Payment Component
=================

Sylius Payment component **does not** provide any gateways. It is only a raw
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Product/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Product Component [![Build status...](https://secure.travis-ci.org/Sylius/Product.png?branch=master)](http://travis-ci.org/Sylius/Product)
Product Component
=================

Sylius product catalog comes with support of different product attributes,
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Promotion/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Promotion Component [![Build status...](https://secure.travis-ci.org/Sylius/Promotion.png?branch=master)](http://travis-ci.org/Sylius/Promotion)
Promotion Component
===================

Almost every e-commerce project needs strong tools for marketing campaigns.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Review/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Review Component [![Build status...](https://secure.travis-ci.org/Sylius/Review.png?branch=master)](http://travis-ci.org/Sylius/Review)
Review Component
=================

E-Commerce PHP component for managing reviews.
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Shipping/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Shipping Component [![Build status...](https://secure.travis-ci.org/Sylius/Shipping.png?branch=master)](http://travis-ci.org/Sylius/Shipping)
Shipping Component
==================

Sylius e-commerce Shipping component is a complete solution to manage
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Taxation/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Taxation Component [![Build status...](https://secure.travis-ci.org/Sylius/Taxatione.png?branch=master)](http://travis-ci.org/Sylius/Taxation)
Taxation Component
==================

Taxation needs to handle different type of items, zones and tax rates. Sylius
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/Taxonomy/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Taxonomy Component [![Build status...](https://secure.travis-ci.org/Sylius/Taxonomy.png?branch=master)](http://travis-ci.org/Sylius/Taxonomy)
Taxonomy Component
==================

Categorization is one of the most basic functionality for modern web
Expand Down
2 changes: 1 addition & 1 deletion src/Sylius/Component/User/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User Component [![Build status...](https://secure.travis-ci.org/Sylius/User.png?branch=master)](http://travis-ci.org/Sylius/User)
User Component
================

Managing users in PHP applications.
Expand Down

0 comments on commit d81fded

Please sign in to comment.