framework: buster

on_start:
  command: browserstack tunnel localhost:<port>
  wait_for_text: Tunnel is running

before_tests: npm run prepare-browser-test

src_files:
  - index.js
  - questor.min.js
  - test/integration/**-test.js

serve_files:
  - test/bundle-helper.js
  - test/integration/**-test.js

launchers:
  Node:
    command: node_modules/.bin/buster-test -r tap
    protocol: tap
  BS_Chrome:
    command: browserstack launch chrome --attach --timeout 300 <url>
    protocol: browser
    timeout: 300
  BS_Firefox:
    command: browserstack launch firefox --attach --timeout 300 <url>
    protocol: browser
    timeout: 300
  BS_IE10:
    command: browserstack launch ie:10 --attach --timeout 300 <url>
    protocol: browser
    timeout: 300
  BS_IOS7:
    command: browserstack launch 'Mobile Safari' --os ios:7.0 --attach --timeout 300 <url>
    protocol: browser
    timeout: 300

launch_in_ci:
  - Node
  - BS_Chrome
  - BS_Firefox
  - BS_IE10
  - BS_IOS7

launch_in_dev:
  - Chrome
  - Chrome Canary
  - Firefox
  - Node
  - Safari
  - PhantomJS

framework: buster

on_start:
  command: browserstack tunnel localhost:<port>
  wait_for_text: Tunnel is running

before_tests: npm run prepare-browser-test

src_files:
  - index.js
  - questor.min.js
  - test/integration/**-test.js

serve_files:
  - test/bundle-helper.js
  - test/integration/**-test.js

launchers:
  Node:
    command: node_modules/.bin/buster-test -r tap
    protocol: tap
  BS_Chrome:
    command: browserstack launch chrome --attach --timeout 300 <url>
    protocol: browser
    timeout: 300
  BS_Firefox:
    command: browserstack launch firefox --attach --timeout 300 <url>
    protocol: browser
    timeout: 300
  BS_IE10:
    command: browserstack launch ie:10 --attach --timeout 300 <url>
    protocol: browser
    timeout: 300
  BS_IOS7:
    command: browserstack launch 'Mobile Safari' --os ios:7.0 --attach --timeout 300 <url>
    protocol: browser
    timeout: 300

launch_in_ci:
  - Node
  - BS_Chrome
  - BS_Firefox
  - BS_IE10
#  - BS_IOS7

launch_in_dev:
  - Chrome
  - Chrome Canary
  - Firefox
  - Node
  - Safari
  - PhantomJS

Disable iOS 7 in CI test runs (delay too long)
Disable iOS 7 in CI test runs (delay too long)
