Skip to content

Commit

Permalink
ci(flamegraph): fix 0x
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jan 27, 2020
1 parent 667d9a0 commit f271caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -23,7 +23,7 @@ script:
fi
- npm run test-cov
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
npm install 0x && ./test/benchmark.sh;
npm install 0x -g && ./test/benchmark.sh;
fi

after_script:
Expand Down
2 changes: 1 addition & 1 deletion test/benchmark.sh
Expand Up @@ -87,7 +87,7 @@ npx --no-install hexo clean > build.log
echo ""
echo "- Generating flamegraph..."

node ./node_modules/.bin/0x --output-dir "${TRAVIS_BUILD_DIR}/0x" -- node ./node_modules/.bin/hexo g > build.log 2>&1 ;
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 f271caf

Please sign in to comment.