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

chore: split core, http api server and cli out from ipfs module #3288

Merged
merged 44 commits into from
Sep 28, 2020
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
050e84b
chore: split core, http api server and cli out from ipfs module
achingbrain Sep 4, 2020
dc9d91e
chore: dedupe tests and fix linting
achingbrain Sep 16, 2020
692b1bf
chore: split gateway out into own package
achingbrain Sep 17, 2020
9ce0927
chore: mock ipfs in gateway tests
achingbrain Sep 22, 2020
dce768a
chore: fix deps
achingbrain Sep 22, 2020
b1aef91
chore: temp test script
achingbrain Sep 22, 2020
b03ebef
chore: update test scripts
achingbrain Sep 22, 2020
f1371a1
chore: fix up message port client tests
achingbrain Sep 23, 2020
7bee6aa
chore: fix up interop tests
achingbrain Sep 23, 2020
1a0ebfa
chore: control test environments from travis file
achingbrain Sep 23, 2020
607264a
chore: restore test envs
achingbrain Sep 23, 2020
368d7c3
chore: renable interface tests
achingbrain Sep 23, 2020
4bb4b32
chore: rename interface test jobs and align error message with go
achingbrain Sep 23, 2020
1f5fb9f
chore: fix up interface tests
achingbrain Sep 23, 2020
8bae148
chore: remove extra logging
achingbrain Sep 23, 2020
d0aee45
chore: restore null guard
achingbrain Sep 23, 2020
f0aa34a
chore: fix failing tests
achingbrain Sep 23, 2020
fa83a26
chore: more failing tests
achingbrain Sep 23, 2020
ac5f0d6
chore: fix up ref formatting test
achingbrain Sep 23, 2020
8ed00f9
chore: move shard tests to sharding block
achingbrain Sep 23, 2020
d352a97
chore: debug http js
achingbrain Sep 24, 2020
19faf35
chore: specify path to bin in aegir.js
achingbrain Sep 24, 2020
f761383
chore: debug http js
achingbrain Sep 24, 2020
a2844b9
chore: try caching node_modules folders
achingbrain Sep 24, 2020
76f7ebb
chore: link before building
achingbrain Sep 24, 2020
2ae72ed
chore: where is my build
achingbrain Sep 24, 2020
3301752
chore: really disable install step
achingbrain Sep 24, 2020
9a03065
chore: fix up browser tests
achingbrain Sep 24, 2020
03161d5
chore: do rebuild and link in install step
achingbrain Sep 24, 2020
2bbdaec
chore: more logging
achingbrain Sep 24, 2020
86f054b
chore: remove caching as it does not work with symlinks
achingbrain Sep 24, 2020
cac6370
chore: use top level addons
achingbrain Sep 24, 2020
15f48bb
chore: skip hrtime tests in webworkers
achingbrain Sep 24, 2020
6e8607d
chore: increase default timeout
achingbrain Sep 24, 2020
bcda138
chore: change timeouts around
achingbrain Sep 24, 2020
2d03d55
chore: increase timeout for sharding and slow webworkers
achingbrain Sep 25, 2020
0898b48
chore: increase default timeouts for webworkers and electron
achingbrain Sep 25, 2020
3e7ef89
chore: run electron and webworker tests on os x
achingbrain Sep 25, 2020
5019f71
chore: turn on go pubsub
achingbrain Sep 25, 2020
9fdf39c
chore: build worker before tests
achingbrain Sep 25, 2020
0967ba9
chore: skip sharding tests
achingbrain Sep 25, 2020
91c44d7
chore: try chmoding bin files after caching install files
achingbrain Sep 25, 2020
6c5c626
chore: revert build cache, add extra clause to detect timeouts
achingbrain Sep 25, 2020
8227840
chore: run message port tests on linux
achingbrain Sep 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: try caching node_modules folders
  • Loading branch information
achingbrain committed Sep 24, 2020
commit a2844b9e831e4519cb4913f0a3eae8538cdbbce0
25 changes: 24 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ branches:
- /^release\/.*$/

stages:
- install
- check
- test
- release-rc
Expand All @@ -23,6 +24,21 @@ os:
- osx
- windows

# cache all the node modules
cache:
directories:
- node_modules
- packages/interface-ipfs-core/node_modules
- packages/ipfs/node_modules
- packages/ipfs-cli/node_modules
- packages/ipfs-core-utils/node_modules
- packages/ipfs-http-client/node_modules
- packages/ipfs-http-gateway/node_modules
- packages/ipfs-http-server/node_modules
- packages/ipfs-message-port-client/node_modules
- packages/ipfs-message-port-protocol/node_modules
- packages/ipfs-message-port-server/node_modules

env:
# This stops Windows builds from hanging
# https://travis-ci.community/t/timeout-after-build-finished-and-succeeded/1336
Expand All @@ -45,7 +61,8 @@ before_install:
# only run jobs in packages that have changed since master in PR builds
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export RUN_SINCE='--since master' ; fi

script: npm run test:node -- $RUN_SINCE -- -- --timeout 10000 --bail
# disable auto-install as we will do one install step and cache the results
install: true

jobs:
allow_failures:
Expand All @@ -58,6 +75,12 @@ jobs:
- name: external - ipfs-log
- name: external - sidetree
include:

# manual install step, we do this to cache the installed files for subsequent steps
- stage: install
script:
- npm install

- stage: check
name: deps
script:
Expand Down