Skip to content

Commit

Permalink
add sendkeys test app build
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanMagazinnik committed Oct 25, 2016
1 parent e2aa29c commit b784542
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,27 @@ before_script:
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- xauth generate :99.0 . trusted
# Build test app
- cd apps/MouseTester
- svn checkout https://github.com/pywinauto/PywinautoTestapps/trunk/MouseTester/source
- cd source
# Clone test apps
- git init apps
- cd apps
- git remote add -f origin https://github.com/pywinauto/PywinautoTestapps/
- git config core.sparseCheckout true
- echo "MouseTester/source" >> .git/info/sparse-checkout
- echo "SendKeysTester/source" >> .git/info/sparse-checkout
- git pull origin master
# Build test apps
- cd MouseTester/source
- qmake
- make
- chmod a+x mousebuttons
- cp mousebuttons ../
- cd $TRAVIS_BUILD_DIR
- cd apps/SendKeysTester/source
- qmake
- make
- chmod a+x send_keys_test_app
- cp send_keys_test_app ../
- cd $TRAVIS_BUILD_DIR

script:
- python pywinauto/unittests/test_mouse.py
Expand Down

0 comments on commit b784542

Please sign in to comment.