mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	github raw served from new subdomain
This commit is contained in:
		| @@ -2,7 +2,7 @@ language: c # defaults to ruby | |||||||
| install: | install: | ||||||
|   - sudo apt-get install ksh zsh -y |   - sudo apt-get install ksh zsh -y | ||||||
| before_script: | before_script: | ||||||
|   - curl -o /tmp/urchin https://raw.github.com/scraperwiki/urchin/master/urchin && chmod +x /tmp/urchin |   - curl -o /tmp/urchin https://raw.githubusercontent.com/scraperwiki/urchin/master/urchin && chmod +x /tmp/urchin | ||||||
| script: | script: | ||||||
|   - NVM_DIR=$TRAVIS_BUILD_DIR make URCHIN=/tmp/urchin test |   - NVM_DIR=$TRAVIS_BUILD_DIR make URCHIN=/tmp/urchin test | ||||||
|  |  | ||||||
|   | |||||||
| @@ -8,11 +8,11 @@ First you'll need to make sure your system has a c++ compiler.  For OSX, XCode w | |||||||
|  |  | ||||||
| To install you could use the [install script][2] using cURL: | To install you could use the [install script][2] using cURL: | ||||||
|  |  | ||||||
|     curl https://raw.github.com/creationix/nvm/v0.5.1/install.sh | sh |     curl https://raw.githubusercontent.com/creationix/nvm/v0.5.1/install.sh | sh | ||||||
|  |  | ||||||
| or Wget: | or Wget: | ||||||
|  |  | ||||||
|     wget -qO- https://raw.github.com/creationix/nvm/v0.5.1/install.sh | sh |     wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.5.1/install.sh | sh | ||||||
|  |  | ||||||
| <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub> | <sub>The script clones the nvm repository to `~/.nvm` and adds the source line to your profile (`~/.bash_profile`, `~/.zshrc` or `~/.profile`).</sub> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -45,7 +45,7 @@ install_from_git() { | |||||||
|  |  | ||||||
| install_as_script() { | install_as_script() { | ||||||
|   if [ -z "$NVM_SOURCE" ]; then |   if [ -z "$NVM_SOURCE" ]; then | ||||||
|     NVM_SOURCE="https://raw.github.com/creationix/nvm/master/nvm.sh" |     NVM_SOURCE="https://raw.githubusercontent.com/creationix/nvm/master/nvm.sh" | ||||||
|   fi |   fi | ||||||
|  |  | ||||||
|   # Downloading to $NVM_DIR |   # Downloading to $NVM_DIR | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user