ChFlick/firecode

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js

node_js:
  - "node"

install:
  - |
    if [ $TRAVIS_OS_NAME == "linux" ]; then
      export DISPLAY=':99.0'
      /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
    fi

jobs:
  include:
    - stage: build
      script:
        - |
          echo ">>>> Build Extension"
          yarn && yarn build
    - stage: lint
      script:
        - |
          echo ">>>> Lint Extension"
          yarn lint
    - stage: test
      name: "Test"
      script:
        - |
          echo ">>>> Test Extension"
          yarn test
    - name: "Legacy Test"
      script:
        - |
          echo ">>>> Test Extension"
          yarn test-legacy

after_success:
  - bash <(curl -s https://codecov.io/bash)

cache: yarn