language: node_js

node_js:
  - 0.10

env:
  global:
    - BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
    - LOGS_DIR=/tmp/angular2One-seed-build/logs
    - SAUCE_USERNAME=mlb6
    - SAUCE_ACCESS_KEY=a00d08c6b0f7-6edb-eb64-e6a9-dc872a13

before_install:
  - npm install -g npm@latest
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

install:
  - mkdir -p $LOGS_DIR
  - ./scripts/sauce_connect_setup.sh
  - npm install
  - npm install -g bower
  - npm install -g gulp
  - npm install -g karma-cli
  - bower install
  - ./scripts/wait_for_browser_provider.sh

script:
  - ./scripts/test_on_sauce.sh

# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false

language: node_js

node_js:
  - 0.10

env:
  global:
    - BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
    - LOGS_DIR=/tmp/angular2One-seed-build/logs
    - SAUCE_USERNAME=mlb6
    - SAUCE_ACCESS_KEY=a00d08c6b0f7-6edb-eb64-e6a9-dc872a13

before_install:
  - npm install -g npm@latest
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

install:
  - mkdir -p $LOGS_DIR
  - ./scripts/sauce_connect_setup.sh
  - npm install
  - npm install -g gulp &
  - npm install -g bower &
  - npm install -g karma-cli &
  - bower install &
  - wait %1
  - gulp webdriver-update &
  - wait %2 %3 %4 %5
  - ./scripts/wait_for_browser_provider.sh

script:
  - ./scripts/test_on_sauce.sh

# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false

Prepare ci build for protractor tests
Prepare ci build for protractor tests
