before_script:
  - apt-get update && apt-get install -y nodejs
  - node --version
  - npm --version
  - java -version # Required for selenium server
  - npm install
  - ./scripts/setup_ci.sh

test:
  script:
    - xvfb-run ./scripts/run_ci.sh


before_script:
  - echo "Starting tests..."

test_linux:
  script:
    - apt-get update && apt-get install -y nodejs
    - node --version
    - npm --version
    - java -version # Required for selenium server
    - npm install
    - ./scripts/setup_ci.sh
    - xvfb-run ./scripts/run_ci.sh
  tags:
    - linux

test_windows:
  script:
    - bash scripts/setup.ci.sh
    - bash scripts/run_ci.sh
  test:
    - windows

Split CI jobs into Linux and Windows
Split CI jobs into Linux and Windows
