Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Li committed May 29, 2020
1 parent 38f39e4 commit 8cd19de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ install_volta: &install_volta |-

install_node_dependencies: &install_node_dependencies |-
echo "$PATH"
command -v volta
command -v node
command -v yarn
# Running `node -v` and `yarn -v` triggers Volta to install the versions set in the project.
# There might be a more readable `volta install` in the future that would replace this magic.
# Tracking: https://github.com/volta-cli/volta/issues/653#issuecomment-628909923
Expand Down Expand Up @@ -175,8 +178,8 @@ matrix:
# Under a "generic" language environment, this will make travis pyenv error because there
# is no pyenv python installed.
- rm .python-version
- *install_volta
install:
- *install_volta
- *install_node_dependencies

- python: 3.7
Expand Down Expand Up @@ -222,9 +225,8 @@ matrix:
- python: 2.7
name: 'Frontend [test]'
env: TEST_SUITE=js
before_install:
- *install_volta
install:
- *install_volta
- *install_node_dependencies

- python: 2.7
Expand Down

0 comments on commit 8cd19de

Please sign in to comment.