sudo: false

language: node_js

node_js:
  - "8"
  - "10"
cache:
  directories:
    - node_modules
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
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH

install:
  - npm i
  - npm run lint
  - npm run vscode:prepublish

script:
  - npm test --silent

sudo: false

language: node_js

node_js:
  - "8"
  - "10"
cache:
  directories:
    - node_modules
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
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH=$HOME/.yarn/bin:$PATH

install:
  - npm i
  - npm run lint
  - npm run vscode:prepublish

script:
  - npm test

Stop running tests in silent mode
ci: Stop running tests in silent mode

