sudo: false
language: python
python:
  - "2.7"
env:
  - TRAVIS_NODE_VERSION="6.6.0"
cache:
  directories:
  - kbase-extension/static/ext_components
  - node_modules
branches:
  only:
    - develop
    - staging
    - master
    - travis-firefox

before_install:
  - pip install virtualenv
  - npm install -g bower
  - npm install -g grunt-cli
  - npm install -g karma-cli
install:
  - pip install -r src/requirements.txt
  - nvm install $TRAVIS_NODE_VERSION
script: make build-travis-narrative && make test

sudo: false
language: python
python:
  - "2.7"
env:
  - TRAVIS_NODE_VERSION="6.6.0"
cache:
  directories:
  - kbase-extension/static/ext_components
  - node_modules
branches:
  only:
    - develop
    - staging
    - master
    - travis-firefox

before_install:
  - pip install virtualenv
  - nvm install $TRAVIS_NODE_VERSION
  - npm install -g bower
  - npm install -g grunt-cli
  - npm install -g karma-cli
install:
  - pip install -r src/requirements.txt

script: make build-travis-narrative && make test

Move node upgrade to before other installs
Move node upgrade to before other installs
