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

Commit 09f491e

Browse files
committed
chore: temporary: run only ipfs-webui tests
will revert this later this is just to speed up CI tests for debugging License: MIT Signed-off-by: Marcin Rataj <[email protected]>
1 parent 22f8190 commit 09f491e

File tree

1 file changed

+1
-239
lines changed

1 file changed

+1
-239
lines changed

.travis.yml

+1-239
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
language: node_js
22

3-
branches:
4-
only:
5-
- master
6-
- /^release\/.*$/
7-
83
stages:
94
- check
105
- test
11-
- tag
126

137
node_js:
14-
- '10'
158
- '12'
169

1710
os:
1811
- linux
19-
- osx
20-
- windows
2112

2213
env:
2314
# This stops Windows builds from hanging
@@ -44,241 +35,12 @@ jobs:
4435
- stage: check
4536
script:
4637
- npx aegir build --bundlesize
47-
- npx aegir dep-check -- -i wrtc -i electron-webrtc
48-
- npm run lint
49-
50-
- stage: test
51-
name: chrome
52-
addons:
53-
chrome: stable
54-
script:
55-
- npx aegir test -t browser -t webworker
56-
57-
- stage: test
58-
name: firefox
59-
addons:
60-
firefox: latest
61-
script:
62-
- npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless
63-
64-
- stage: test
65-
name: electron-main
66-
os: osx
67-
script:
68-
- npx aegir test -t electron-main --bail --timeout 10000
69-
70-
- stage: test
71-
name: electron-renderer
72-
os: osx
73-
script:
74-
- npx aegir test -t electron-renderer --bail --timeout 10000
75-
76-
- stage: test
77-
name: interop - node
78-
script:
79-
- cd node_modules/ipfs-interop
80-
- IPFS_JS_EXEC=./../../src/cli/bin.js IPFS_REUSEPORT=false npx aegir test -t node --bail
81-
82-
- stage: test
83-
name: interop - browser
84-
script:
85-
- cd node_modules/ipfs-interop
86-
- IPFS_JS_EXEC=./../../src/cli/bin.js IPFS_REUSEPORT=false npx aegir test -t browser --bail
87-
88-
- stage: test
89-
name: interop - electron-main
90-
os: osx
91-
script:
92-
- cd node_modules/ipfs-interop
93-
- IPFS_JS_EXEC=./../../src/cli/bin.js IPFS_REUSEPORT=false npx aegir test -t electron-main -f ./test/node.js --bail --timeout 10000
94-
95-
- stage: test
96-
name: interop - electron-renderer
97-
os: osx
98-
script:
99-
- cd node_modules/ipfs-interop
100-
- IPFS_JS_EXEC=./../../src/cli/bin.js IPFS_REUSEPORT=false npx aegir test -t electron-renderer -f ./test/browser.js --bail --timeout 10000
10138

10239
- stage: test
10340
name: external - ipfs-webui
10441
script:
42+
- npm ci
10543
- E2E_IPFSD_TYPE=js IPFS_JS_EXEC=$(realpath ./src/cli/bin.js) npm run test:external -- ipfs-webui https://github.com/ipfs-shipyard/ipfs-webui.git --branch "fix/test-external"
10644

107-
- stage: test
108-
name: external - ipfs-companion
109-
script:
110-
- npm run test:external -- ipfs-companion https://github.com/ipfs-shipyard/ipfs-companion.git
111-
112-
- stage: test
113-
name: external - npm-on-ipfs
114-
script:
115-
- npm run test:external -- npm-on-ipfs https://github.com/ipfs-shipyard/npm-on-ipfs.git
116-
117-
- stage: test
118-
name: external - ipfs-pubsub-room
119-
script:
120-
- npm run test:external -- ipfs-pubsub-room https://github.com/ipfs-shipyard/ipfs-pubsub-room.git --branch upgrade-to-latest-js-ipfs-rc
121-
122-
- stage: test
123-
name: external - peer-base
124-
script:
125-
- npm run test:external -- peer-base https://github.com/achingbrain/peer-base.git --branch upgrade-to-latest-ipfs-rc
126-
127-
- stage: test
128-
name: external - service-worker-gateway
129-
script:
130-
- npm run test:external -- service-worker-gateway https://github.com/ipfs-shipyard/service-worker-gateway.git
131-
132-
- stage: test
133-
name: external - orbit-db
134-
script:
135-
- npm run test:external -- orbit-db https://github.com/orbitdb/orbit-db.git
136-
137-
- stage: test
138-
name: external - ipfs-log
139-
script:
140-
- npm run test:external -- ipfs-log https://github.com/orbitdb/ipfs-log.git
141-
142-
- stage: test
143-
name: external - sidetree
144-
script:
145-
- npm run test:external -- sidetree https://github.com/decentralized-identity/sidetree.git
146-
147-
- stage: test
148-
name: example - browser-add-readable-stream
149-
script:
150-
- cd examples
151-
- npm install
152-
- npm run test -- browser-add-readable-stream
153-
154-
- stage: test
155-
name: example - browser-browserify
156-
script:
157-
- cd examples
158-
- npm install
159-
- npm run test -- browser-browserify
160-
161-
- stage: test
162-
name: example - browser-create-react-app
163-
script:
164-
- cd examples
165-
- npm install
166-
- npm run test -- browser-create-react-app
167-
168-
- stage: test
169-
name: example - browser-mfs
170-
script:
171-
- cd examples
172-
- npm install
173-
- npm run test -- browser-mfs
174-
175-
- stage: test
176-
name: example - browser-parceljs
177-
script:
178-
- cd examples
179-
- npm install
180-
- npm run test -- browser-parceljs
181-
182-
- stage: test
183-
name: example - browser-readablestream
184-
script:
185-
- cd examples
186-
- npm install
187-
- npm run test -- browser-readablestream
188-
189-
- stage: test
190-
name: example - browser-script-tag
191-
script:
192-
- cd examples
193-
- npm install
194-
- npm run test -- browser-script-tag
195-
196-
- stage: test
197-
name: example - browser-video-streaming
198-
script:
199-
- cd examples
200-
- npm install
201-
- npm run test -- browser-video-streaming
202-
203-
- stage: test
204-
name: example - browser-vue
205-
script:
206-
- cd examples
207-
- npm install
208-
- npm run test -- browser-vue
209-
210-
- stage: test
211-
name: example - browser-webpack
212-
script:
213-
- cd examples
214-
- npm install
215-
- npm run test -- browser-webpack
216-
217-
- stage: test
218-
name: example - circuit-relaying
219-
script:
220-
- cd examples
221-
- npm install
222-
- npm run test -- circuit-relaying
223-
224-
- stage: test
225-
name: example - custom-ipfs-repo
226-
script:
227-
- cd examples
228-
- npm install
229-
- npm run test -- custom-ipfs-repo
230-
231-
- stage: test
232-
name: example - custom-libp2p
233-
script:
234-
- cd examples
235-
- npm install
236-
- npm run test -- custom-libp2p
237-
238-
- stage: test
239-
name: example - exchange-files-in-browser
240-
script:
241-
- cd examples
242-
- npm install
243-
- npm run test -- exchange-files-in-browser
244-
245-
- stage: test
246-
name: example - explore-ethereum-blockchain
247-
script:
248-
- cd examples
249-
- npm install
250-
- npm run test -- explore-ethereum-blockchain
251-
252-
- stage: test
253-
name: example - ipfs-101
254-
script:
255-
- cd examples
256-
- npm install
257-
- npm run test -- ipfs-101
258-
259-
- stage: test
260-
name: example - running-multiple-nodes
261-
script:
262-
- cd examples
263-
- npm install
264-
- npm run test -- running-multiple-nodes
265-
266-
- stage: test
267-
name: example - traverse-ipld-graphs
268-
script:
269-
- cd examples
270-
- npm install
271-
- npm run test -- traverse-ipld-graphs
272-
273-
- stage: tag
274-
# only run on changes to master
275-
if: branch = master AND type = push AND fork = false
276-
name: update-last-successful-build
277-
script:
278-
- git config --global user.email "[email protected]"
279-
- git config --global user.name "Travis CI"
280-
- git remote set-url origin https://$TRAVIS_GITHUB_USER:[email protected]/ipfs/js-ipfs.git
281-
- npx aegir update-last-successful-build
282-
28345
notifications:
28446
email: false

0 commit comments

Comments
 (0)