Skip to content

Commit

Permalink
chore: debugging heath status of containers and deepstream
Browse files Browse the repository at this point in the history
  • Loading branch information
derrandz committed Dec 11, 2017
1 parent fe65e24 commit f20a1a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
- SELENIUM_HUB_IP=172.28.0.2
- TEST_PAGE_HOST=172.28.0.1 # required for ci:e2e:test-page
- DEEPSTREAM_HOST=172.28.0.1
- STACK_STARTUP_TIMEOUT=30 # in seconds, the time required for deepstream server and selenium grid to go up

before_install:
- docker network create --subnet=$SELENIUM_NET/16 seleniumnet
Expand All @@ -30,6 +31,9 @@ before_install:
- npm install && npm run tsc && cd ..
- sudo chmod +x ./deepstream.io/dist/bin/deepstream
- (./deepstream.io/dist/bin/deepstream start --host $DEEPSTREAM_HOST --http-port 3030 > /dev/null 2>&1) & # providing http port to avoid port conflict with test page (uses 8080)
- sleep $STACK_STARTUP_TIMEOUT
- wget -O- http://$SELENIUM_HUB_IP:4444
- wget -O- http://$DEEPSTREAM_HOST:3030/health-check

script:
- if [ "$TRAVIS_NODE_VERSION" ~= "8" ]; then
Expand Down

0 comments on commit f20a1a2

Please sign in to comment.