sudo: false

os:
  - osx
  - linux

before_install:
  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
      sh -e /etc/init.d/xvfb start;
      sleep 3;
    fi

install:
  - cd c-cpp-flylint-server && npm install
  - cd c-cpp-flylint-server && npm run vscode:prepublish

script:
  - cd c-cpp-flylint-server && npm test

sudo: false

language: node_js

node_js:
  - "7"

os:
  - osx
  - linux

before_install:
  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
      sh -e /etc/init.d/xvfb start;
      sleep 3;
    fi

install:
  - cd c-cpp-flylint-server && npm install
  - cd c-cpp-flylint-server && npm run vscode:prepublish

script:
  - cd c-cpp-flylint-server && npm test

Switch to Node.js version 7
Switch to Node.js version 7
