Skip to content

Commit

Permalink
travis updates for crossbar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwdan committed Dec 31, 2015
1 parent 512896a commit e30ab27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ php:
matrix:
allow_failures:
- php: hhvm
- php: 7

before_install:
- sudo apt-get install python-pip -qq
- sudo apt-get install -qq build-essential libssl-dev libffi-dev python-dev python-pip
- sudo pip install crossbar
- export PATH=$HOME/.local/bin:$PATH
- pip install crossbar --user `whoami`

before_script:
- composer install
Expand Down
5 changes: 2 additions & 3 deletions tests/Crossbar/run_tests
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh

timeout 45s /usr/local/bin/crossbar start --cbdir $HOME/hello/.crossbar &
timeout 45s crossbar start --cbdir $HOME/hello/.crossbar &

sleep 20

phpunit tests/Crossbar/CrossbarTest.php

exit $?

exit $?
2 changes: 1 addition & 1 deletion tests/Crossbar/travis_install
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

/usr/local/bin/crossbar init --template hello:php --appdir $HOME/hello
crossbar init --template hello:php --appdir $HOME/hello

cd $HOME/hello

Expand Down

0 comments on commit e30ab27

Please sign in to comment.