mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 18:43:43 +00:00
Compare commits
3 Commits
67918a0bf6
...
b5789e7bc1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b5789e7bc1 | ||
![]() |
762f9ef9d1 | ||
![]() |
e87ec0c013 |
@ -32,7 +32,7 @@ before_install:
|
|||||||
- zsh --version
|
- zsh --version
|
||||||
- dpkg -s dash | grep ^Version | awk '{print $2}'
|
- dpkg -s dash | grep ^Version | awk '{print $2}'
|
||||||
# install python
|
# install python
|
||||||
- pyenv install 2.7.18
|
- pyenv local 2.7.18 || pyenv install 2.7.18
|
||||||
- pyenv local 2.7.18 || echo 'pyenv failed'
|
- pyenv local 2.7.18 || echo 'pyenv failed'
|
||||||
- python -V
|
- python -V
|
||||||
install:
|
install:
|
||||||
|
@ -25,8 +25,11 @@ nvm run $NVM_TEST_VERSION --version | grep $NVM_TEST_VERSION || "'nvm run $NVM_T
|
|||||||
# Remove the stuff we're clobbering.
|
# Remove the stuff we're clobbering.
|
||||||
[ -e ../../$NVM_TEST_VERSION ] && rm -R ../../$NVM_TEST_VERSION
|
[ -e ../../$NVM_TEST_VERSION ] && rm -R ../../$NVM_TEST_VERSION
|
||||||
|
|
||||||
# Install from source with 2 make jobs (and swapped arg order)
|
# Speed up test for non-CI environment which may have more CPU threads
|
||||||
nvm install -j 2 -s $NVM_TEST_VERSION || die "'nvm install -s $NVM_TEST_VERSION' failed"
|
[ -z "${CI-}"] && nvm_get_make_jobs
|
||||||
|
|
||||||
|
# Install from source with multiple make jobs (and swapped arg order)
|
||||||
|
nvm install -j ${NVM_MAKE_JOBS-:2} -s $NVM_TEST_VERSION || die "'nvm install -s $NVM_TEST_VERSION' failed"
|
||||||
|
|
||||||
# Check
|
# Check
|
||||||
[ -d ../../$NVM_TEST_VERSION ]
|
[ -d ../../$NVM_TEST_VERSION ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user