Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
16b09131
Commit
16b09131
authored
4 years ago
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update node to fix mocha tests
(cherry picked from commit
4e14582c
)
parent
cee60700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
.circleci/config.yml
.circleci/config.yml
+3
-4
No files found.
.circleci/config.yml
View file @
16b09131
...
...
@@ -44,7 +44,7 @@ executors:
TEST_VERBOSE
:
1
node
:
docker
:
-
image
:
circleci/node:1
0
-
image
:
circleci/node:1
2
working_directory
:
~/ipfs/go-ipfs
environment
:
<<
:
*default_environment
...
...
@@ -191,15 +191,14 @@ jobs:
-
run
:
name
:
Installing reporting tools
command
:
|
npm install --save-dev mocha-
junit-reporter@1.23.1 mocha-mult
i-reporter
s@1.1.0
npm install --save-dev mocha-
circlec
i-reporter
@0.0.3
working_directory
:
~/ipfs/go-ipfs/interop
-
run
:
name
:
Running tests
command
:
|
mkdir -p /tmp/test-results/interop/
export MOCHA_FILE="$(mktemp /tmp/test-results/interop/unit.XXXXXX.xml)"
echo '{"reporterEnabled": "mocha-junit-reporter, spec"}' > mocha-conf.json
node_modules/.bin/mocha -R mocha-multi-reporters --reporter-options "configFile=mocha-conf.json" \
node_modules/.bin/mocha --reporter mocha-circleci-reporter \
$(sed -n -e "s|^require('\(.*\)')$|test/\1|p" test/node.js | circleci tests split)
working_directory
:
~/ipfs/go-ipfs/interop
environment
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment