Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
f5c25e08
Commit
f5c25e08
authored
Oct 29, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis memcache env check: try again
parent
a75c07be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
MemCacheTest.php
tests/unit/framework/caching/MemCacheTest.php
+2
-2
MemCachedTest.php
tests/unit/framework/caching/MemCachedTest.php
+2
-2
No files found.
tests/unit/framework/caching/MemCacheTest.php
View file @
f5c25e08
...
@@ -29,8 +29,8 @@ class MemCacheTest extends CacheTestCase
...
@@ -29,8 +29,8 @@ class MemCacheTest extends CacheTestCase
public
function
testExpire
()
public
function
testExpire
()
{
{
print_r
(
$_ENV
);
echo
getenv
(
'TRAVIS'
);
if
(
isset
(
$_ENV
[
'TRAVIS'
])
&&
$_ENV
[
'TRAVIS'
]
)
{
if
(
(
$env
=
getenv
(
'TRAVIS'
))
!==
false
&&
$env
==
'true'
)
{
$this
->
markTestSkipped
(
'Can not reliably test memcache expiry on travis-ci.'
);
$this
->
markTestSkipped
(
'Can not reliably test memcache expiry on travis-ci.'
);
}
}
parent
::
testExpire
();
parent
::
testExpire
();
...
...
tests/unit/framework/caching/MemCachedTest.php
View file @
f5c25e08
...
@@ -29,8 +29,8 @@ class MemCachedTest extends CacheTestCase
...
@@ -29,8 +29,8 @@ class MemCachedTest extends CacheTestCase
public
function
testExpire
()
public
function
testExpire
()
{
{
print_r
(
$_ENV
);
echo
getenv
(
'TRAVIS'
);
if
(
isset
(
$_ENV
[
'TRAVIS'
])
&&
$_ENV
[
'TRAVIS'
]
)
{
if
(
(
$env
=
getenv
(
'TRAVIS'
))
!==
false
&&
$env
==
'true'
)
{
$this
->
markTestSkipped
(
'Can not reliably test memcached expiry on travis-ci.'
);
$this
->
markTestSkipped
(
'Can not reliably test memcached expiry on travis-ci.'
);
}
}
parent
::
testExpire
();
parent
::
testExpire
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment