Skip to content
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

Do not flush schema on failed authentication #143

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9f5a282
updated PHP7 implementation
tony2001 Mar 2, 2016
dcee45b
php7-v1
bigbes Mar 11, 2016
8ce2459
Fix every test
bigbes Mar 11, 2016
68a36e3
Modify travis.yml
bigbes Apr 11, 2016
4b9d897
Temporary fix for big queries
bigbes May 10, 2016
b155500
Add random/boolean tests
bigbes Jun 22, 2016
1917ae6
Fix for closing connection if Tarantool throws an error
bigbes Jun 22, 2016
932fd68
fix debian rules,control for php7.0 (#91)
yolkov Jul 1, 2016
31cf8a8
Next version of tarantool-php for php7
bigbes Jul 20, 2016
5b7029c
Add support for namespaces and alternative name for Tarantool class
bigbes Jul 28, 2016
80a7011
Testcase for gh-98
bigbes Sep 6, 2016
776d820
Merge branch 'gh-98-segfault' into php7-v2
bigbes Sep 6, 2016
cef8afe
Move tools to utils.{c,h} + fix bug with reference encoding
bigbes Sep 6, 2016
27697cf
Fix allocation of hash key
bigbes Sep 6, 2016
e77eee7
Fix compilation warnings and Replace base64
bigbes Nov 22, 2016
a49b200
Test for another old bug
bigbes Nov 22, 2016
3bf8566
Update tag for version 0.2.0
bigbes Nov 22, 2016
86611b5
Add check for greetings. Closes gh-85
bigbes Jan 24, 2017
a5b6a36
sockets handling corrections
Feb 3, 2017
fbfb006
Distinguish timeout from errors. Honor request timeout.
bigbes Feb 6, 2017
de17ac9
Remove unnecessary return (#114)
AlexMasterov Feb 9, 2017
96906b3
Fix for PHP version 7.2 (#121)
remicollet Aug 11, 2017
2c8ed54
Fix version
remicollet Sep 7, 2017
7b7e01f
Fix for broken upsert/update
Apr 18, 2018
209d646
Bump version
Apr 18, 2018
99ffbd0
Bump new version
Apr 18, 2018
d0f1a59
Fixing problem caused by non-server definitions in space `:format()`
bigbes May 11, 2018
3820b83
Merge pull request #132 from bigbes/php7-v2
alg1973 May 16, 2018
de0ced9
Update PHPUnit to version 7 (old version 4.9 wasnt supported by PHP 7…
bigbes Jul 1, 2018
d90237b
Use packpack instead of obsolete tarantool/build in .travis.yml
bigbes Aug 14, 2018
d62eb1a
Update travis.yml
bigbes Nov 4, 2018
42a63b4
Do not reload schema on failed authentication
bigbes Aug 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Makefile.in
/config.nice
/config.status
/config.sub
/configure.ac
/configure.in
/libtool
/ltmain.sh
Expand All @@ -34,6 +35,7 @@ Makefile.in
*.libs
*.pyc
*.out
*.dSYM
var*
config.guess.cdbs-orig
config.sub.cdbs-orig
Expand Down
14 changes: 14 additions & 0 deletions .travis.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.PHONY: test

all: package

package:
git clone https://github.com/packpack/packpack.git packpack
packpack/packpack

test:
curl -s https://packagecloud.io/install/repositories/tarantool/1_10/script.deb.sh | sudo bash
sudo apt install tarantool
phpize && ./configure && make all && sudo make install
sudo pip install PyYAML
./test-run.py
106 changes: 16 additions & 90 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ services:

language: php

php:
- 5.4
- 5.5
- 5.6

python:
- 2.7

Expand All @@ -17,97 +12,28 @@ cache: false
env:
global:
- PRODUCT=php-tarantool
matrix:
- OS=el DIST=6 PACK=rpm
- OS=el DIST=7 PACK=rpm
- OS=fedora DIST=22 PACK=rpm
- OS=fedora DIST=23 PACK=rpm
- OS=fedora DIST=rawhide PACK=rpm
- OS=ubuntu DIST=trusty PACK=deb
- OS=ubuntu DIST=precise PACK=deb
- OS=ubuntu DIST=wily PACK=deb
# phpize is, currently, broken on xenial. can't test, still not stable
# - OS=ubuntu DIST=xenial PACK=deb
- OS=debian DIST=jessie PACK=deb
- OS=debian DIST=wheezy PACK=deb
- OS=debian DIST=stretch PACK=deb
- OS=debian DIST=sid PACK=deb
- PACK=none

# multiple php version exclusion matrix
matrix:
include:
- { env: TARGET=test, php: 7.1 }
- { env: TARGET=test, php: nightly }
fast_finish: true
allow_failures:
- env: OS=el DIST=6 PACK=rpm
- env: OS=el DIST=7 PACK=rpm
- env: OS=fedora DIST=22 PACK=rpm
- env: OS=fedora DIST=23 PACK=rpm
- env: OS=fedora DIST=rawhide PACK=rpm
- env: OS=ubuntu DIST=precise PACK=deb
- env: OS=ubuntu DIST=trusty PACK=deb
- env: OS=ubuntu DIST=wily PACK=deb
# - env: OS=ubuntu DIST=xenial PACK=deb
- env: OS=debian DIST=jessie PACK=deb
- env: OS=debian DIST=wheezy PACK=deb
- env: OS=debian DIST=stretch PACK=deb
- env: OS=debian DIST=sid PACK=deb
exclude:
- env: OS=el DIST=6 PACK=rpm
php: 5.4
- env: OS=el DIST=7 PACK=rpm
php: 5.4
- env: OS=fedora DIST=22 PACK=rpm
php: 5.4
- env: OS=fedora DIST=23 PACK=rpm
php: 5.4
- env: OS=fedora DIST=rawhide PACK=rpm
php: 5.4
- env: OS=ubuntu DIST=precise PACK=deb
php: 5.4
- env: OS=ubuntu DIST=trusty PACK=deb
php: 5.4
- env: OS=ubuntu DIST=wily PACK=deb
php: 5.4
# - env: OS=ubuntu DIST=xenial PACK=deb
php: 5.4
- env: OS=debian DIST=jessie PACK=deb
php: 5.4
- env: OS=debian DIST=wheezy PACK=deb
php: 5.4
- env: OS=debian DIST=stretch PACK=deb
php: 5.4
- env: OS=debian DIST=sid PACK=deb
php: 5.4
- env: OS=el DIST=6 PACK=rpm
php: 5.5
- env: OS=el DIST=7 PACK=rpm
php: 5.5
- env: OS=fedora DIST=22 PACK=rpm
php: 5.5
- env: OS=fedora DIST=23 PACK=rpm
php: 5.5
- env: OS=fedora DIST=rawhide PACK=rpm
php: 5.5
- env: OS=ubuntu DIST=precise PACK=deb
php: 5.5
- env: OS=ubuntu DIST=trusty PACK=deb
php: 5.5
- env: OS=ubuntu DIST=wily PACK=deb
php: 5.5
# - env: OS=ubuntu DIST=xenial PACK=deb
php: 5.5
- env: OS=debian DIST=jessie PACK=deb
php: 5.5
- env: OS=debian DIST=wheezy PACK=deb
php: 5.5
- env: OS=debian DIST=stretch PACK=deb
php: 5.5
- env: OS=debian DIST=sid PACK=deb
php: 5.5
allowed_failures:
- OS=el DIST=6
- OS=el DIST=7
- OS=fedora DIST=26
- OS=fedora DIST=27
- OS=ubuntu DIST=trusty
- OS=ubuntu DIST=xenial
- OS=ubuntu DIST=artful
- OS=ubuntu DIST=bionic
- OS=debian DIST=wheezy
- OS=debian DIST=jessie
- OS=debian DIST=stretch

script:
- git clone https://github.com/tarantool/build.git
- bash build/pack/travis.sh
- make -f .travis.mk ${TARGET}

notifications:
email: true
Expand Down
Loading