Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit a6a1b0b

Browse files
committed
chore: run interop tests as part of the build
Also tag last successful build and ensure we do not get stealth multiaddr@v7
1 parent 3878f0f commit a6a1b0b

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ os:
1919
- windows
2020

2121
script: npx nyc -s npx aegir test -t node --timeout 10000 --bail
22-
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
22+
after_success:
23+
- npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
24+
- test $TRAVIS_BRANCH = "master" && npx aegir update-last-successful-build
2325

2426
jobs:
2527
include:
@@ -55,5 +57,10 @@ jobs:
5557
script:
5658
- xvfb-run npx aegir test -t electron-renderer -- --bail --timeout 10000
5759

60+
- stage: test
61+
name: interop
62+
script:
63+
- npm run test:interop
64+
5865
notifications:
5966
email: false

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"test:node:cli": "aegir test -t node -f test/cli/index.js",
4949
"test:node:interface": "aegir test -t node -f test/core/interface.spec.js",
5050
"test:bootstrapers": "IPFS_TEST=bootstrapers aegir test -t browser -f test/bootstrapers.js",
51+
"test:interop": "IPFS_JS_EXEC=$PWD/src/cli/bin.js ipfs-interop",
5152
"coverage": "nyc --reporter=text --reporter=lcov npm run test:node",
5253
"benchmark": "echo \"Error: no benchmarks yet\" && exit 1",
5354
"benchmark:node": "echo \"Error: no benchmarks yet\" && exit 1",
@@ -140,7 +141,7 @@
140141
"libp2p-websocket-star-multi": "~0.4.3",
141142
"libp2p-websockets": "~0.12.3",
142143
"lodash": "^4.17.15",
143-
"mafmt": "^6.0.2",
144+
"mafmt": "^6.0.10",
144145
"merge-options": "^1.0.1",
145146
"mime-types": "^2.1.21",
146147
"mkdirp": "~0.5.1",
@@ -185,7 +186,7 @@
185186
"yargs-promise": "^1.1.0"
186187
},
187188
"devDependencies": {
188-
"aegir": "^20.0.0",
189+
"aegir": "^20.1.0",
189190
"base64url": "^3.0.1",
190191
"chai": "^4.2.0",
191192
"clear-module": "^4.0.0",
@@ -197,6 +198,7 @@
197198
"form-data": "^2.5.1",
198199
"hat": "0.0.3",
199200
"interface-ipfs-core": "^0.113.0",
201+
"ipfs-interop": "~0.1.0",
200202
"ipfsd-ctl": "~0.46.0",
201203
"libp2p-websocket-star": "~0.10.2",
202204
"ncp": "^2.0.0",

0 commit comments

Comments
 (0)