language: ruby
before_install:
 - sudo apt-get update
 - sudo apt-get install nodejs
script:
 - bundle exec rake db:migrate RAILS_ENV=test
 - bundle exec rake

language: ruby
before_install:
 - curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
 - sudo apt-get install nodejs
script:
 - bundle exec rake db:migrate RAILS_ENV=test
 - bundle exec rake

Use Nodesource to get a current node in Travis.
:green_heart: Use Nodesource to get a current node in Travis.
