diff --git a/.travis.yml b/.travis.yml index 7578689..a156bc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: php php: - 5.6 - 7.0 + - 7.1 + - 7.2 + - 7.3 before_install: - composer self-update - bash test/bin/build_etcd.sh diff --git a/composer.json b/composer.json index 5dd03a8..77eb68e 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,8 @@ ], "require" : { "php": ">=5.6.0", - "ext-curl" : "*" + "ext-curl" : "*", + "ext-json": "*" }, "require-dev" : { "phpunit/phpunit": "~5.0" diff --git a/test/bin/build_etcd.sh b/test/bin/build_etcd.sh old mode 100644 new mode 100755 index f768ebe..b29b1c6 --- a/test/bin/build_etcd.sh +++ b/test/bin/build_etcd.sh @@ -1,13 +1,9 @@ #!/bin/bash -wget -c https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz -tar -zxf go1.4.linux-amd64.tar.gz +wget -c https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz +tar -zxf go1.13.3.linux-amd64.tar.gz git clone https://github.com/coreos/etcd.git export GOROOT=$PWD/go -#export GOPATH=$PWD/go -export PATH=$GOPATH/bin:$PATH -go get golang.org/x/tools/cmd/cove -go get golang.org/x/tools/cmd/vet cd etcd && ./build # Start etcd