-
-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Cleaned up Travis CI configuration - Move all buil/test scripts to .ci subfolder
- Loading branch information
1 parent
0437bd0
commit 9a0051b
Showing
12 changed files
with
49 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
; This file is part of the Zephir. | ||
; | ||
; (c) Zephir Team <[email protected]> | ||
; | ||
; For the full copyright and license information, please view the LICENSE | ||
; file that was distributed with this source code. | ||
|
||
variables_order=EGPCS | ||
enable_dl=true | ||
opcache.enable=0 | ||
opcache.enable_cli=0 | ||
zend.assertions=1 | ||
assert.exception=On |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
|
||
shopt -s nullglob | ||
|
||
$(phpenv which php) -v | ||
$(phpenv which php) -m | ||
|
||
export LC_ALL=C | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# This file is part of the Zephir. | ||
# | ||
# (c) Zephir Team <[email protected]> | ||
# | ||
# For the full copyright and license information, please view the LICENSE | ||
# file that was distributed with this source code. | ||
|
||
Function AppendSessionPath { | ||
$PathsCollection = @("C:\Program Files (x86)\MSBuild\${Env:VC_VERSION}.0\Bin") | ||
$PathsCollection += "C:\Program Files (x86)\Microsoft Visual Studio ${Env:VC_VERSION}.0\VC" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# This file is part of the Zephir. | ||
# | ||
# (c) Zephir Team <[email protected]> | ||
# | ||
# For the full copyright and license information, please view the LICENSE | ||
# file that was distributed with this source code. | ||
|
||
if [ $(valgrind -v glibtoolize 2>/dev/null) = "" ]; then | ||
echo "Skip check for memory leaks. Valgring does not exist" | ||
|
@@ -14,7 +21,7 @@ export USE_ZEND_ALLOC=0 | |
# Do not stop testing on failures | ||
export PHPUNIT_DONT_EXIT=1 | ||
|
||
PROJECT_ROOT=$(readlink -enq "$(dirname $0)/../../") | ||
PROJECT_ROOT=$(readlink -enq "$(dirname $0)/../") | ||
|
||
valgrind | ||
--read-var-info=yes \ | ||
|
@@ -24,7 +31,8 @@ valgrind | |
--leak-check=full \ | ||
--num-callers=20 \ | ||
--run-libc-freeres=no \ | ||
$(phpenv which php) -d "extension=${PROJECT_ROOT}/ext/modules/test.so" \ | ||
$(phpenv which php) | ||
-d "extension=${PROJECT_ROOT}/ext/modules/test.so" \ | ||
"${PROJECT_ROOT}/unit-tests/phpunit" \ | ||
-c "${PROJECT_ROOT}/phpunit.xml.dist" \ | ||
--no-coverage \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.