-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return working tests on php7.0-php7.2 #140
Conversation
bigbes
commented
Dec 2, 2018
- Update test-run.py and lib/tarantool_server.py to support python 3
- Update tests accordingly to new version of PHPUnit
- Added initialization of standart class properties to 'Tarantool'
- Update .travis.yml (remove all junk)
….1+) * Update test-run.py and lib/tarantool_server.py to support python 3 * Update tests accordingly to new version of PHPUnit * Added initialization of standart class properties to 'Tarantool'
.travis.yml
Outdated
|
||
# multiple php version exclusion matrix | ||
matrix: | ||
include: | ||
- { env: TARGET=test, php: 7.1 } | ||
- { env: TARGET=test, php: nightly } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So only 2 targets will be run. No packaging ones.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Planned to give packaging back in the scope of #117.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But anyway need to comment this point in the commit message, so I leave the discussion unresolved for now.
Remove obsolete test-suite config from test-run.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to disable tests / targets where fails occur (see Travis-CI) and file backlog issues against these problems.
@@ -245,7 +245,7 @@ def start(self): | |||
self.generate_configuration() | |||
if self.script: | |||
shutil.copy(self.script, self.script_dst) | |||
os.chmod(self.script_dst, 511) | |||
os.chmod(self.script_dst, 0o777) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: You touched this line 2 times arcoss there commits. 0777 → 511 → 0o777. Please, use 0o777 right in the first commit.
{ | ||
public function testFoo() | ||
{ | ||
$tnt = $this->getMock('Tarantool'); | ||
// $tnt = $this->createMock(['Tarantool']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be removed?
d62eb1a
to
ef47438
Compare
Superseded by PR #153. |