mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Use node 0.9 for these testsso that people aren't likely to have it installed
This commit is contained in:
		| @@ -4,21 +4,21 @@ set -e | |||||||
| . ../../../nvm.sh | . ../../../nvm.sh | ||||||
|  |  | ||||||
| # Remove the stuff we're clobbering. | # Remove the stuff we're clobbering. | ||||||
| [ -e ../../../v0.10.7 ] && rm -R ../../../v0.10.7 | [ -e ../../../v0.9.7 ] && rm -R ../../../v0.9.7 | ||||||
| [ -e ../../../v0.10.8 ] && rm -R ../../../v0.10.8 | [ -e ../../../v0.9.12 ] && rm -R ../../../v0.9.12 | ||||||
|  |  | ||||||
| # Install from binary | # Install from binary | ||||||
| nvm install 0.10.7 | nvm install 0.9.7 | ||||||
| nvm install 0.10.8 | nvm install 0.9.12 | ||||||
|  |  | ||||||
| # Check | # Check | ||||||
| [ -d ../../../v0.10.7 ] | [ -d ../../../v0.9.7 ] | ||||||
| [ -d ../../../v0.10.8 ] | [ -d ../../../v0.9.12 ] | ||||||
|  |  | ||||||
| # Use the first one | # Use the first one | ||||||
| nvm use 0.10.7 | nvm use 0.9.7 | ||||||
|  |  | ||||||
| # Use the latest one | # Use the latest one | ||||||
| nvm use 0.10 | nvm use 0.9 | ||||||
| node --version | grep v0.10.8 | node --version | grep v0.9.12 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user