Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
remove sleep command from build using netstat instead
Browse files Browse the repository at this point in the history
  • Loading branch information
brantwynn committed May 21, 2015
1 parent c8c8ea3 commit 7969630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -29,14 +29,14 @@ install:
- mv lightning_* drupal/sites/all/modules/contrib/lightning_features/.
- ls -l
- cd drupal
- drush make --no-core sites/all/modules/contrib/lightning_features/lightning_features.make -y
- drush make --no-core sites/all/modules/contrib/lightning_features/lightning_features.make -y
- drush si standard --db-url=mysql://root:@localhost/drupal -y
before_script:
- drush en lightning_* -y
- drush dis dblog -y
- drush cc all
- drush runserver --server=builtin 8080 &
- sleep 4
- until netstat -an 2>/dev/null | grep '8080.*LISTEN'; do sleep 0.2; done
script:
- drush uli -l http://127.0.0.1:8080 -v
matrix:
Expand Down

0 comments on commit 7969630

Please sign in to comment.