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

Commit

Permalink
chore: remove caching as it does not work with symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 24, 2020
1 parent 2bbdaec commit 86f054b
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ branches:
- /^release\/.*$/

stages:
- install
- test
- release-rc
- test-external
Expand All @@ -23,21 +22,6 @@ 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 @@ -60,11 +44,6 @@ 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

# rebuild and link to recreate symlinks that do not get cached properly
install:
- npm rebuild
- npm run link

script:
- npm run test:node -- $RUN_SINCE -- -- --timeout 10000 --bail

Expand All @@ -78,17 +57,8 @@ jobs:
- name: external - orbit-db
- name: external - ipfs-log
- name: external - sidetree
include:

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

include:
- stage: test
name: lint
script:
Expand Down

0 comments on commit 86f054b

Please sign in to comment.