Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
],
"require" : {
"php": ">=5.6.0",
"ext-curl" : "*"
"ext-curl" : "*",
"ext-json": "*"
},
"require-dev" : {
"phpunit/phpunit": "~5.0"
Expand Down
8 changes: 2 additions & 6 deletions test/bin/build_etcd.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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
Expand Down