Skip to content

Commit

Permalink
[qalab] update automated builds
Browse files Browse the repository at this point in the history
  • Loading branch information
netzulo committed Aug 21, 2017
1 parent b64fcaa commit 7bcc9e1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ before_install:
- python setup.py install

install:
- echo "TODO:make sense cofigFile.json"
- python qalab/qalab.py install --mode hub
- python qalab/qalab.py selenium -m hub -i
- python qalab/qalab.py selenium -m node -i

before_script:
- echo "travis before_script"
- python qalab/qalab.py selenium -m hub -s &
- python qalab/qalab.py selenium -m node -s &

script:
- echo "travis script"
- TIMEOUT=10 timeout $TIMEOUT telnet localhost 11000
- echo "Selenium HUB it's ready to use"
- TIMEOUT=10 timeout $TIMEOUT telnet localhost 11001
- echo "Selenium NODE it's ready to use"

8 changes: 6 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ environment:

install:
- "%PYTHON%\\python.exe setup.py install"
- "%PYTHON%\\python.exe qalab\\qalab.py selenium -m hub -i"
- "%PYTHON%\\python.exe qalab\\qalab.py selenium -m node -i"

before_test:
- "%PYTHON%\\python.exe qalab\\qalab.py install --mode hub"
- "cmd \k \"%PYTHON%\\python.exe qalab\\qalab.py selenium -m hub -s\""
- "cmd \k \"%PYTHON%\\python.exe qalab\\qalab.py selenium -m node -s\""

test_script:
- "echo test_script executed"
- "telnet localhost 11000"
- "telnet localhost 11001"

0 comments on commit 7bcc9e1

Please sign in to comment.