nim-libp2p/.travis_deactivated.yml

59 lines
1.6 KiB
YAML
Raw Normal View History

2019-08-14 23:46:43 +00:00
language: go
2018-11-19 02:04:47 +00:00
dist: bionic
2018-11-19 02:04:47 +00:00
# https://docs.travis-ci.com/user/caching/
cache:
directories:
2019-06-13 11:09:12 +00:00
- NimBinaries
- p2pdCache
2018-11-19 02:04:47 +00:00
2019-06-13 11:09:12 +00:00
git:
# when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X"
depth: 10
go: "1.14.x"
2019-08-14 23:46:43 +00:00
2018-11-19 03:58:52 +00:00
matrix:
include:
# Due to Travis new pricing we want to dedicate the resources we have
# for ARM64 testing, hence Linux/Mac on AMD are commented out
# https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
2020-07-12 02:14:49 +00:00
# - os: linux
# arch: amd64
2020-07-12 02:14:49 +00:00
# env:
# - NPROC=2
2020-07-12 02:14:49 +00:00
# before_install:
# - export GOPATH=$HOME/go
# - os: osx
# env:
# - NPROC=2
# before_install:
# - export GOPATH=$HOME/go
- os: linux
dist: bionic
arch: arm64
env:
- NPROC=6 # Worth trying more than 2 parallel jobs: https://travis-ci.community/t/no-cache-support-on-arm64/5416/8
# (also used to get a different cache key than the amd64 one)
2019-01-10 00:51:17 +00:00
before_install:
- export GOPATH=$HOME/go
2019-06-13 11:09:12 +00:00
2018-11-19 02:04:47 +00:00
install:
# build nim from our own branch - this to avoid the day-to-day churn and
# regressions of the fast-paced Nim development while maintaining the
# flexibility to apply patches
2019-08-24 19:31:11 +00:00
- curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
- env MAKE="make -j${NPROC}" bash build_nim.sh Nim csources dist/nimble NimBinaries
2019-06-13 11:09:12 +00:00
- export PATH="$PWD/Nim/bin:$GOPATH/bin:$PATH"
2019-08-24 19:31:11 +00:00
# install and build go-libp2p-daemon
Gossip one one (#240) * allow multiple codecs per protocol (without breaking things) * add 1.1 protocol to gossip * explicit peering part 1 * explicit peering part 2 * explicit peering part 3 * PeerInfo and ControlPrune protocols * fix encodePrune * validated always, even explicit peers * prune by score (score is stub still) * add a way to pass parameters to gossip * standard setup fixes * take into account explicit direct peers in publish * add floodPublish logic * small fixes, publish still half broken * make sure to waitsub in sparse test * use var semantics to optimize table access * wip... lvalues don't work properly sadly... * big publish refactor, replenish and balance * fix internal tests * use g.peers for fanout (todo: don't include flood peers) * exclude non gossip from fanout * internal test fixes * fix flood tests * fix test's trypublish * test interop fixes * make sure to not remove peers from gossip table * restore old replenishFanout * cleanups * restore utility module import * restore trace vs debug in gossip * improve fanout replenish behavior further * triage publish nil peers (issue is on master too but just hidden behind a if/in) * getGossipPeers fixes * remove topics from pubsubpeer (was unused) * simplify rebalanceMesh (following spec) and make it finally reach D_high * better diagnostics * merge new pubsubpeer, copy 1.1 to new module * fix up merge * conditional enable gossip11 module * add back topics in peers, re-enable flood publish * add more heartbeat locking to prevent races * actually lock the heartbeat * minor fixes * with sugar * merge 1.0 * remove assertion in publish * fix multistream 1.1 multi proto * Fix merge oops * wip * fix gossip 11 upstream * gossipsub11 -> gossipsub * support interop testing * tests fixing * fix directchat build * control prune updates (pb) * wip parameters * gossip internal tests fixes * parameters wip * finishup with params * cleanups/wip * small sugar * grafted and pruned procs * wip updateScores * wip * fix logging issue * pubsubpeer, chronicles explicit override * fix internal gossip tests * wip * tables troubleshooting * score wip * score wip * fixes * fix test utils generateNodes * don't delete while iterating in score update * fix grafted defect * add a handleConnect in subscribeTopic * pruning improvements * wip * score fixes * post merge - builds gossip tests * further merge fixes * rebalance improvements and opportunistic grafting * fix test for now * restore explicit peering * implement peer exchange graft message * add an hard cap to PX * backoff time management * IWANT cap/budget * Adaptive gossip dissemination * outbound mesh quota, internal tests fixing * oversub prune score based, finish outbound quota * finishup with score and ihave budget * use go daemon 0.3.0 * import fixes * byScore cleanup score sorting * remove pointless scaling in `/` Duration operator * revert using libp2p org for daemon * interop fixes * fixes and cleanup * remove heartbeat assertion, minor debug fixes * logging improvements and cleaning up * (to revert) add some traces * add explicit topic to gossip rpcs * pubsub merge fixes and type fix in switch * Revert "(to revert) add some traces" This reverts commit 4663eaab6cc336c81cee50bc54025cf0b7bcbd99. * cleanup some now irrelevant todo * shuffle peers anyway as score might be disabled * add missing shuffle * old merge fix * more merge fixes * debug improvements * re-enable gossip internal tests * add gossip10 fallback (dormant but tested) * split gossipsub internal tests into 1.0 and 1.1 Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2020-09-21 09:16:29 +00:00
- bash scripts/build_p2pd.sh p2pdCache v0.3.0
2018-11-19 02:04:47 +00:00
script:
2019-08-14 23:46:43 +00:00
- nimble install -y --depsOnly
2018-11-19 03:24:45 +00:00
- nimble test
- nimble examples_build