Skip to content

Commit

Permalink
Merge pull request #13876 from phalcon/4.0.x
Browse files Browse the repository at this point in the history
4.0.0-alpha.3
  • Loading branch information
sergeyklay authored Mar 3, 2019
2 parents 171b6cd + 478e7da commit 9fae862
Show file tree
Hide file tree
Showing 519 changed files with 158,911 additions and 88,808 deletions.
4 changes: 2 additions & 2 deletions .ci/appveyor.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ function InitializeBuildVars {

function InitializeReleaseVars {
if ($Env:BUILD_TYPE -Match "nts-Win32") {
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_MINOR}_${Env:APPVEYOR_BUILD_VERSION}_nts"
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_VERSION}_${Env:APPVEYOR_BUILD_VERSION}_nts"

if ($Env:PLATFORM -eq 'x86') {
$Env:RELEASE_FOLDER = "Release"
} else {
$Env:RELEASE_FOLDER = "x64\Release"
}
} else {
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_MINOR}_${Env:APPVEYOR_BUILD_VERSION}"
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_VERSION}_${Env:APPVEYOR_BUILD_VERSION}"

if ($Env:PLATFORM -eq 'x86') {
$Env:RELEASE_FOLDER = "Release_TS"
Expand Down
23 changes: 23 additions & 0 deletions .ci/install-mysql-5.7.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
#
# This file is part of the Phalcon Framework.
#
# (c) Phalcon Team <[email protected]>
#
# For the full copyright and license information, please view the
# LICENSE.txt file that was distributed with this source code.

# Ensure that this is being run inside a CI container
if [ "${CI}" != "true" ];
then
>&2 echo "This script is designed to run inside a CI container only."
>&2 echo "Aborting."
exit 1
fi

echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections
wget https://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb
sudo dpkg --install mysql-apt-config_0.7.3-1_all.deb
sudo apt-get update -q
sudo apt-get install -q -y --allow-unauthenticated -o Dpkg::Options::=--force-confnew mysql-server
sudo mysql_upgrade
35 changes: 7 additions & 28 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,43 +1,22 @@
# EditorConfig is awesome: http://EditorConfig.org

root = true
charset = utf-8
trim_trailing_whitespace = true
# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4

[*.{c,h,awk,w32,bat,mk,Makefile,frag,zep,lemon,re,psm1,sh}]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
tab_width = 4
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,m4,json,xml}]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
[*.{c,h,awk,w32,bat,mk,Makefile,frag,zep,lemon,re,psm1,sh}]
indent_style = tab
tab_width = 4

[*.{php,phpt}]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
[*.{yml,m4,json,xml}]
indent_size = 2

[*.md]
charset = utf-8
end_of_line = lf
indent_style = space
trim_trailing_whitespace = false
insert_final_newline = true
9 changes: 5 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ Hello!
* Type: bug fix | new feature | code quality | documentation
* Link to issue:

**In raising this pull request, I confirm the following (please check boxes):**
**In raising this pull request, I confirm the following:**

- [ ] I have read and understood the [Contributing Guidelines](https://github.com/phalcon/cphalcon/blob/master/CONTRIBUTING.md)?
- [ ] I have checked that another pull request for this purpose does not exist.
- [ ] I wrote some tests for this PR.
- [ ] I have read and understood the [Contributing Guidelines](https://github.com/phalcon/cphalcon/blob/master/CONTRIBUTING.md)
- [ ] I have checked that another pull request for this purpose does not exist
- [ ] I wrote some tests for this PR
- [ ] I updated the CHANGELOG

Small description of change:

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ autom4te.cache/
/ide/

.zephir/
zephir.phar

boxfile.yml
composer.lock
Expand Down
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sudo: false

language: php
php:
# PHP 7.4 does not ready yet
# PHP 7.4 is not ready yet
# - 'master'
- '7.3'
- '7.2'
Expand All @@ -18,19 +18,15 @@ branches:

addons:
apt:
sources:
- mysql-5.7-trusty
packages:
- beanstalkd
- gdb
- lcov
- mysql-server
- mysql-client
postgresql: "9.4"

matrix:
fast_finish: true
# PHP 7.4 does not ready yet
# PHP 7.4 is not ready yet
# allow_failures:
# - php: 'master'

Expand Down Expand Up @@ -86,6 +82,7 @@ before_install:
export PHP_PEAR_PHP_BIN=$(phpenv which php)
install:
- .ci/install-mysql-5.7.sh
- tests/_ci/setup-dbs.sh
- tests/_ci/pear-setup.sh
- .ci/install-prereqs.sh
Expand Down
Loading

0 comments on commit 9fae862

Please sign in to comment.