language: go
go:
  - 1.7

install:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  - npm install

script:
  - go test -v ./...

after_success:
  - npm run build

language: go
go:
  - 1.7

before_install:
  - . $HOME/.nvm/nvm.sh
  - nvm install stable
  - nvm use stable
  - npm install

script:
  - go test -v ./...

after_success:
  - npm run build

Move nvm section to before_install
Move nvm section to before_install
