|
|
@ -8,27 +8,35 @@ dist: trusty |
|
|
|
|
|
|
|
|
|
|
|
language: go |
|
|
|
language: go |
|
|
|
|
|
|
|
|
|
|
|
os: |
|
|
|
matrix: |
|
|
|
- linux |
|
|
|
include: |
|
|
|
|
|
|
|
- os: linux |
|
|
|
env: |
|
|
|
env: |
|
|
|
- ARCH=x86_64 |
|
|
|
- ARCH=x86_64 |
|
|
|
|
|
|
|
go: 1.10.1 |
|
|
|
|
|
|
|
script: |
|
|
|
|
|
|
|
- make |
|
|
|
|
|
|
|
- diff -au <(gofmt -s -d cmd) <(printf "") |
|
|
|
|
|
|
|
- diff -au <(gofmt -s -d pkg) <(printf "") |
|
|
|
|
|
|
|
- make test GOFLAGS="-timeout 15m -race -v" |
|
|
|
|
|
|
|
- make coverage |
|
|
|
|
|
|
|
- node --version |
|
|
|
|
|
|
|
- cd browser && yarn && yarn test && cd .. |
|
|
|
|
|
|
|
- os: linux-ppc64le |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
- ARCH=ppc64le |
|
|
|
|
|
|
|
go: 1.10.1 |
|
|
|
|
|
|
|
script: |
|
|
|
|
|
|
|
- make |
|
|
|
|
|
|
|
- diff -au <(gofmt -s -d cmd) <(printf "") |
|
|
|
|
|
|
|
- diff -au <(gofmt -s -d pkg) <(printf "") |
|
|
|
|
|
|
|
- make test GOFLAGS="-timeout 15m -v" |
|
|
|
|
|
|
|
- make coverage |
|
|
|
|
|
|
|
- node --version |
|
|
|
|
|
|
|
- cd browser && yarn && yarn test && cd .. |
|
|
|
|
|
|
|
|
|
|
|
before_install: |
|
|
|
before_install: |
|
|
|
- nvm install stable |
|
|
|
- nvm install stable |
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
|
|
|
|
## Run all the tests |
|
|
|
|
|
|
|
- make |
|
|
|
|
|
|
|
- diff -au <(gofmt -s -d cmd) <(printf "") |
|
|
|
|
|
|
|
- diff -au <(gofmt -s -d pkg) <(printf "") |
|
|
|
|
|
|
|
- make test GOFLAGS="-timeout 15m -race -v" |
|
|
|
|
|
|
|
- make coverage |
|
|
|
|
|
|
|
- node --version |
|
|
|
|
|
|
|
- cd browser && yarn && yarn test && cd .. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
after_success: |
|
|
|
after_success: |
|
|
|
- bash <(curl -s https://codecov.io/bash) |
|
|
|
- bash <(curl -s https://codecov.io/bash) |
|
|
|
|
|
|
|
|
|
|
|
go: |
|
|
|
|
|
|
|
- '1.10.1' |
|
|
|
|
|
|
|