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

Commit 1d1fd99

Browse files
committed
chore: run interop tests as part of the build
Also tag last successful build
1 parent 3878f0f commit 1d1fd99

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.travis.yml

+9-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,11 @@ 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 link
64+
- npm run test:interop
65+
5866
notifications:
5967
email: false

package.json

+3-1
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-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",
@@ -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+
"interop-ipfs": "ipfs/interop#add-bin",
200202
"ipfsd-ctl": "~0.46.0",
201203
"libp2p-websocket-star": "~0.10.2",
202204
"ncp": "^2.0.0",

0 commit comments

Comments
 (0)