Skip to content

Commit

Permalink
Try travis with zwemulator and install dependcies plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico0084 committed Jul 1, 2016
1 parent 45be4df commit dd29395
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,7 @@ mysql:
username: travis
encoding: utf8
env:
DMG_BRANCH=master
DMG_BRANCH=develop
DMG_PLUGIN=ozwave
install:
- cd ~
Expand All @@ -24,6 +24,8 @@ before_script:
- ~/domogik/src/domogik/tests/travis/travis-install-domogik-mq.sh
- ~/domogik/src/domogik/tests/travis/travis-install-domogik.sh
- ~/domogik/src/domogik/tests/travis/travis-install-plugin.sh
- cd $TRAVIS_BUILD_DIR
- tests/travis/travis-install-plugindenpencies.sh
- sudo ~/domogik/src/domogik/tests/travis/travis-start-domogik.sh
script:
- echo $TRAVIS_BUILD_DIR
Expand Down
19 changes: 19 additions & 0 deletions tests/travis/travis-install-plugindenpencies.sh
@@ -0,0 +1,19 @@
#!/bin/bash -e
# The -e option will make the bash stop if any command raise an error ($? != 0)

echo "==== Install zwave emulator dependency"
sudo apt-get install socat
cd $TRAVIS_BUILD_DIR
git clone git@github.com:Nico0084/py-zwave-emulator.git
export ZWEMULATOR = py-zwave-emulator/bin/zwemulator.py

echo "==== Install Plugin dependency"
./install_dependencies.sh -LAST

echo "==== Start zwave emulator"
python $ZWEMULATOR &





0 comments on commit dd29395

Please sign in to comment.