Skip to content

Commit 9b03d97

Browse files
committed
Merge branch 'develop-v4' for v4.0.0-beta.6
Signed-off-by: Mriyam Tamuli <[email protected]>
2 parents b60a124 + cef1122 commit 9b03d97

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1398
-2849
lines changed

.travis.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,47 @@ env:
88
- PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH"
99

1010
before_install:
11+
- sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
1112
- |
1213
# Remove Xdebug for a huge performance increase:
1314
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
1415
phpenv config-rm xdebug.ini
1516
else
1617
echo "xdebug.ini does not exist"
1718
fi
19+
- |
20+
# Update commands in composer.json to develop if branch is not master.
21+
if [[ "$TRAVIS_BRANCH" != "master-v4" ]]; then
22+
sed -i 's/\(easyengine\/.*\):\ \".*\"/\1:\ \"dev-develop\"/' composer.json
23+
fi
1824
1925
install:
20-
- composer install --no-interaction
26+
- |
27+
# Run composer install for master else update.
28+
if [[ "$TRAVIS_BRANCH" = "master-v4" ]]; then
29+
composer install --no-interaction
30+
else
31+
composer update
32+
fi
2133
- sudo ./ci/test-env-install.sh
2234

2335
before_script:
2436
- composer validate
2537
- ./ci/prepare.sh
38+
39+
script:
2640
- sudo ./vendor/bin/behat
2741
- ./ci/test-commands.sh
2842

2943
after_script:
44+
- cat /opt/easyengine/install.log
3045
- cat /opt/easyengine/ee.log
3146

3247
jobs:
3348
include:
3449
- stage: deploy
3550
env: DEPLOY_BRANCH=master-v4
36-
script: ./ci/deploy.sh
51+
after_success: ./ci/deploy.sh
3752

3853
cache:
3954
directories:
@@ -48,3 +63,8 @@ notifications:
4863
email:
4964
on_success: never
5065
on_failure: change
66+
67+
addons:
68+
apt:
69+
packages:
70+
- docker-ce

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# EasyEngine v4
22

3+
<img width="150" height="150" src="https://easyengine.io/wp-content/uploads/2015/11/cropped-favicon-easyengine.png" alt="EasyEngine Logo" align="right" />
4+
35
[![Build Status](https://travis-ci.org/EasyEngine/easyengine.svg?branch=master-v4)](https://travis-ci.org/EasyEngine/easyengine)
6+
[![Join EasyEngine Slack Channel](http://slack.easyengine.io/badge.svg)](http://slack.easyengine.io/)
47

58
## Requirements
69

@@ -26,6 +29,24 @@ wget -O /usr/local/bin/ee https://raw.githubusercontent.com/EasyEngine/easyengin
2629
chmod +x /usr/local/bin/ee
2730
```
2831

32+
### Tab completions
33+
34+
EasyEngine also comes with a tab completion script for Bash and ZSH. Just download [ee-completion.bash](https://raw.githubusercontent.com/EasyEngine/easyengine/develop-v4/utils/ee-completion.bash) and source it from `~/.bash_profile`:
35+
36+
```bash
37+
source /FULL/PATH/TO/ee-completion.bash
38+
```
39+
40+
Don't forget to run `source ~/.bash_profile` afterwards.
41+
42+
If using zsh for your shell, you may need to load and start `bashcompinit` before sourcing. Put the following in your `.zshrc`:
43+
44+
```bash
45+
autoload bashcompinit
46+
bashcompinit
47+
source /FULL/PATH/TO/ee-completion.bash
48+
```
49+
2950
## Usage
3051

3152
To get started with EasyEngine and create a wordpress site, run
@@ -82,3 +103,8 @@ In future, community will be able to make their own packages and commands!
82103
## Contributing
83104

84105
We warmheartedly welcome all contributions however and in whatever capacity you can either through Pull Requests or by reporting Issues. You can contribute here or in any of the above mentioned commands repo.
106+
107+
## Donations
108+
109+
[![PayPal-Donate](https://cloud.githubusercontent.com/assets/4115/5297691/c7b50292-7bd7-11e4-987b-2dc21069e756.png)](http://rt.cx/eedonate)
110+
[![BitCoin-Donate](https://bitpay.com/img/donate-button.svg)](https://bitpay.com/417008/donate)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0-beta.5
1+
4.0.0-beta.6

ci/prepare.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22

33
# called by Travis CI
44

5-
if [[ "$TRAVIS_BRANCH" == "develop-v4" ]]; then
5+
if [[ "$TRAVIS_BRANCH" != $DEPLOY_BRANCH ]]; then
66
version=$(head -n 1 VERSION)
77
version="$(echo $version | xargs)"
8-
version+="-nightly"
8+
version+="-nightly-$(git rev-parse --short HEAD)"
99
echo $version > VERSION
10+
sed -i 's/\:\ \"\(.*\)\"/\:\ \"\1-nightly\"/g' img-versions.json
1011
fi
1112

1213
php -dphar.readonly=0 ./utils/make-phar.php easyengine.phar --quiet

ci/test-env-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
function setup_test_requirements() {
3+
readonly LOG_FILE="/opt/easyengine/install.log"
34
# Adding software-properties-common for add-apt-repository.
45
apt-get install -y software-properties-common
56
# Adding ondrej/php repository for installing php, this works for all ubuntu flavours.

composer.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,19 @@
2525
"prefer-stable": true,
2626
"require": {
2727
"php": ">=7.0",
28-
"acmephp/core": "dev-master",
2928
"composer/composer": "^1.2.0",
3029
"composer/semver": "~1.0",
31-
"easyengine/cron-command": "v1.0.0-beta.2",
32-
"easyengine/site-command": "v2.0.0",
33-
"easyengine/site-wp-command": "v1.0.0-beta.1",
34-
"easyengine/shell-command": "v1.0.0-beta.1",
35-
"ext-openssl": "*",
36-
"guzzlehttp/guzzle": "^6.0",
30+
"easyengine/admin-tools-command": "v1.0.0-beta.1",
31+
"easyengine/auth-command": "v1.0.0-beta.1",
32+
"easyengine/config-command": "v1.0.0-beta.1",
33+
"easyengine/cron-command": "v1.0.0-beta.3",
34+
"easyengine/mailhog-command": "v1.0.0-beta.1",
35+
"easyengine/site-command": "v2.1.0",
36+
"easyengine/site-type-wp": "v1.0.0-beta.2",
37+
"easyengine/site-type-php": "v1.0.0-beta.1",
38+
"easyengine/service-command": "v1.0.0-beta.1",
39+
"easyengine/shell-command" : "v1.0.0-beta.2",
3740
"justinrainbow/json-schema": "~5.2.5",
38-
"league/flysystem": "^1.0.19",
3941
"monolog/monolog": "^1.23",
4042
"mustache/mustache": "~2.4",
4143
"rmccue/requests": "~1.6",
@@ -47,10 +49,8 @@
4749
"symfony/filesystem": "^2.7|^3.0",
4850
"symfony/finder": "^2.7|^3.0",
4951
"symfony/process": "^2.1|^3.0",
50-
"symfony/serializer": "^3.0",
5152
"symfony/translation": "^2.7|^3.0",
5253
"symfony/yaml": "^2.7|^3.0",
53-
"webmozart/assert": "^1.0",
5454
"wp-cli/autoload-splitter": "^0.1.5",
5555
"wp-cli/mustangostang-spyc": "^0.6.3",
5656
"wp-cli/php-cli-tools": "~0.11.2"
@@ -71,8 +71,7 @@
7171
"EE": "php"
7272
},
7373
"psr-4": {
74-
"": "php/commands/src",
75-
"AcmePhp\\Cli\\": "php/AcmePhp/Cli"
74+
"": "php/commands/src"
7675
}
7776
},
7877
"extra": {

0 commit comments

Comments
 (0)