language: php
php:
  - 5.4
install:
  - ./test/create_working_copy.sh
  - cd test/working_copy
  - npm install -g grunt-cli
  - npm install -g mocha
script:
  - export PATH=$PATH:`pwd`/bin
  - grunt
  - grunt drush:liteinstall
  - grunt drush:runserver &
  - grunt behat
  - mocha node_modules/grunt-drupal-tasks/test

language: php
php:
  - 5.4
install:
  - ./test/create_working_copy.sh
  - cd test/working_copy
  - npm install -g grunt-cli
  - npm install -g mocha
script:
  - export PATH=$PATH:`pwd`/bin
  - grunt
  - grunt drush:liteinstall
  - grunt drush:runserver &
  - until netstat -an 2>/dev/null | grep '8080.*LISTEN'; do sleep 0.2; done
  - grunt behat
  - mocha node_modules/grunt-drupal-tasks/test

Add wait for port 8080 to Travis CI script.
Add wait for port 8080 to Travis CI script.
