Skip to content

Commit

Permalink
ci(flamegraph): fix 0x path (#4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW authored Feb 16, 2020
1 parent b385a94 commit 7f0537f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ script:
fi
- npm run test-cov
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
npm install 0x && ./test/benchmark.sh;
./test/benchmark.sh;
fi

after_script:
Expand Down
1 change: 1 addition & 0 deletions test/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ npx --no-install hexo clean > build.log
echo ""
echo "- Generating flamegraph..."

npm install 0x --silent
node ./node_modules/.bin/0x --output-dir "${TRAVIS_BUILD_DIR}/0x" -- node ./node_modules/.bin/hexo g > build.log 2>&1 ;

echo "Flamegraph will be deployed to: https://${TRAVIS_COMMIT}-${TRAVIS_NODE_VERSION}-hexo.surge.sh/flamegraph.html"
Expand Down

0 comments on commit 7f0537f

Please sign in to comment.