mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 22:56:40 +00:00
40359f9c1b
* Adding wakunode module * Adding wakuv2 fleet files * Add waku fleets to update-fleet-config script * Adding config items for waku v2 * Conditionally start waku v2 node depending on config * Adapting common code to use go-waku * Setting log level to info * update dependencies * update fleet config to use WakuNodes instead of BootNodes * send and receive messages * use hash returned when publishing a message * add waku store protocol * trigger signal after receiving store messages * exclude linting rule SA1019 to check deprecated packages
37 lines
980 B
YAML
37 lines
980 B
YAML
language: go
|
|
|
|
go:
|
|
- "1.12.x"
|
|
|
|
# first part of the GOARCH workaround
|
|
# setting the GOARCH directly doesn't work, since the value will be overwritten later
|
|
# so set it to a temporary environment variable first
|
|
env:
|
|
- TRAVIS_GOARCH=amd64
|
|
- TRAVIS_GOARCH=386
|
|
|
|
# second part of the GOARCH workaround
|
|
# now actually set the GOARCH env variable to the value of the temporary variable set earlier
|
|
before_install:
|
|
- |
|
|
export GO111MODULE=on;
|
|
go get golang.org/x/tools/cmd/cover;
|
|
go get github.com/onsi/ginkgo/ginkgo;
|
|
go get github.com/onsi/gomega;
|
|
- export GOARCH=$TRAVIS_GOARCH
|
|
- go env
|
|
|
|
script:
|
|
# some tests are randomized. Run them a few times.
|
|
- for i in `seq 1 10`; do
|
|
ginkgo -r -v --cover --randomizeAllSpecs --randomizeSuites --trace --progress;
|
|
done
|
|
|
|
after_success:
|
|
- cat go-libp2p-tls.coverprofile > coverage.txt
|
|
- cat */*.coverprofile >> coverage.txt
|
|
- bash <(curl -s https://codecov.io/bash) -f coverage.txt
|
|
|
|
cache:
|
|
directories:
|