blob: 653f7bb2052587812a02b467726d2a6046e69ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
language: php
sudo: required
php:
- 7.0
- 7.1
- 7.2
go:
- 1.8
before_install:
- composer self-update
install:
- go get "github.com/spiral/roadrunner"
- cp -r * $GOPATH/src/github.com/spiral/roadrunner
- go get -u "github.com/spiral/goridge"
- go get -u "github.com/pkg/errors"
- go get -u "github.com/stretchr/testify/assert"
- composer install --no-interaction --prefer-source
script:
- go test -race -v -coverprofile=lib.txt -covermode=atomic
- go test ./rpc -race -v -coverprofile=rpc.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash) -f lib.txt
- bash <(curl -s https://codecov.io/bash) -f rpc.txt
|