Skip to content

Commit 3f8dc06

Browse files
committed
Merge branch 'development'
2 parents e51fdf1 + da49766 commit 3f8dc06

File tree

4 files changed

+50
-2
lines changed

4 files changed

+50
-2
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ script:
2323
- composer install --dev --no-interaction
2424
- phpunit
2525
- curl -sSL https://raw.githubusercontent.com/schmengler/MageTestStand/master/setup.sh | bash
26+
before_deploy: .travis/bundle.sh
27+
deploy:
28+
provider: releases
29+
api_key:
30+
secure: r5HmWfpDi17JJVEfcAjmkpQH9McW9O0UoBzPS76EduXb8SPjMgEiI2eRoZuQxkjBn2GxKn07gTvkhKT27YWOQSzzrvfHJjJtPajpxLlCX9pmUqDP+lIJ/4273mv+urhCyIrAAGpMMeChmKdXMHOCaSvbKyP7TwsCUYQQnqw8gXK9je4T0xUOg9KahA7ENYVnBasshvFsUAhe7pLXU57DqwNaKkZq/K8B0mCAc33rEaKbUc0yjS6D0S4vA7I1tKfAATdKxbrOlYYFtSDOijhnYeGeJsWRw09E7JIYsDIRgV+nv+nKDLYAnSum1TmQtTVGh3jVNKVHoV4LRjp4QG+BnI5LwEcRrYPp8MMmwTepNnOH4Zlyngh35D8GcDTasmOOr4nicGbaf4HhErj+EJcBJfsMPhjtsmhQugC0zJXqYlB+QA3tgL5rgLBwkACizvdZonqiYZwydQgSMJHftDdFdxQH41b+IvYun1fCZ+HVOiFBGzz8U8DF/ZnTSE46geUB4uptDfFBBa9g8RTZD1d/MnIst8devBXvCwmNzuMgnKsOLyqg+c/E7ZA4IvQSnIRxfJSUVmq26BZC2B86V9jh2kSiYwpEPS9c0T4apZ8kRm6rJC91n6NknvE81B+ZUkCc7RLLoOp6pys/Xh/dHu4Kqehs7Bcbe0esKwEbIpZJeqc=
31+
file:
32+
- "integernet-anonymizer.zip"
33+
- "integernet-anonymizer.tar.gz"
34+
skip_cleanup: true
35+
on:
36+
tags: true

.travis/bundle.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
################################################################################
3+
# #
4+
# This script is used by Travis CI to create a downloadable build for each #
5+
# release with all dependencies, for manual installation. #
6+
# #
7+
################################################################################
8+
9+
set -e
10+
set -x
11+
if [ "$TRAVIS_TAG" == "" ]; then
12+
exit 0
13+
fi
14+
cd $TRAVIS_BUILD_DIR
15+
RELEASE_DIR=integernet-anonymizer-${TRAVIS_TAG}
16+
mkdir -p ${RELEASE_DIR}
17+
cp -rf src/* ${RELEASE_DIR}/
18+
cp -rf .modman/psr0autoloader/app ${RELEASE_DIR}/
19+
cp -rf .modman/psr0autoloader/shell ${RELEASE_DIR}/
20+
cp -rf vendor/fzaninotto/faker/src/Faker ${RELEASE_DIR}/lib/
21+
zip -r integernet-anonymizer.zip ${RELEASE_DIR}
22+
tar -czf integernet-anonymizer.tar.gz ${RELEASE_DIR}
23+
printf "\x1b[32mBundled release ${TRAVIS_TAG}\x1b[0m"

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ This module allows anonymizing customer data in a sensible way. It uses dummy da
44

55
Facts
66
-----
7-
[![Build Status (development)](https://travis-ci.org/integer-net/Anonymizer.svg?branch=development)](https://travis-ci.org/integer-net/Anonymizer) [![Scrutinizer Code Quality (development](https://scrutinizer-ci.com/g/integer-net/Anonymizer/badges/quality-score.png?b=development)](https://scrutinizer-ci.com/g/integer-net/Anonymizer/?branch=development)
7+
8+
| Branch | Build Status | Code Quality |
9+
| ------ | ------------ | ------------ |
10+
| master | [![Build Status (master)](https://travis-ci.org/integer-net/Anonymizer.svg?branch=master)](https://travis-ci.org/integer-net/Anonymizer) | [![Scrutinizer Code Quality (master](https://scrutinizer-ci.com/g/integer-net/Anonymizer/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/integer-net/Anonymizer/?branch=master) |
11+
| development | [![Build Status (development)](https://travis-ci.org/integer-net/Anonymizer.svg?branch=development)](https://travis-ci.org/integer-net/Anonymizer) | [![Scrutinizer Code Quality (development](https://scrutinizer-ci.com/g/integer-net/Anonymizer/badges/quality-score.png?b=development)](https://scrutinizer-ci.com/g/integer-net/Anonymizer/?branch=development) |
812

913
- version: 2.0.0-rc2
1014
- extension key: integer-net/anonymizer
@@ -30,6 +34,11 @@ If you have n98-magerun installed, you can also use this command:
3034

3135
n98-magerun db:anonymize
3236

37+
**Be aware that the process will run very long if you have more than a few thousand orders. Consider deleting old sales data first.**
38+
39+
[![asciicast](https://asciinema.org/a/9j4kylm874s4legd8ddbj494m.png)](https://asciinema.org/a/9j4kylm874s4legd8ddbj494m)
40+
41+
3342
Requirements
3443
------------
3544
- PHP >= 5.4
@@ -44,7 +53,11 @@ Compatibility
4453
Installation Instructions
4554
-------------------------
4655
1. Install via composer: `composer require integer-net/anonymizer`
47-
2. Configure Magento-PSR-0-Autoloader to use the composer autoloader. Add this to the `global` node of your `app/etc/local.xml`: `<composer_vendor_path><![CDATA[{{root_dir}}/vendor]]></composer_vendor_path>`
56+
2. Configure Magento-PSR-0-Autoloader to use the composer autoloader. Add this to the `global` node of your `app/etc/local.xml`:
57+
58+
<composer_vendor_path><![CDATA[{{root_dir}}/vendor]]></composer_vendor_path>
59+
60+
Alternatively download the archive from the [Github release page](https://github.com/integer-net/Anonymizer/releases) and extract it into your installation. It contains the Faker library and no additional configuration is required.
4861

4962
Support
5063
-------

src/app/code/community/IntegerNet/Anonymizer/etc/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</models>
1414
<psr0_namespaces>
1515
<IntegerNet />
16+
<Faker />
1617
</psr0_namespaces>
1718
</global>
1819
<phpunit>

0 commit comments

Comments
 (0)