1 Star 0 Fork 7

从床上帅下来/pywinauto

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
Vasily Ryabov 提交于 2018-04-08 11:17 . Fix coverage reporting on Linux.
sudo: required
dist: trusty
language: cpp
notifications:
email: false
language: python
python:
#- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
os:
- linux
before_install:
- sudo add-apt-repository -y ppa:beineri/opt-qt58-trusty
install:
- pip install python-xlib codecov coverage
- sudo apt-get update
- sudo apt-get install -qq qt58base;
- sudo apt-get -y install qt58declarative qt58tools
- sudo apt-get install xsel
- source /opt/qt58/bin/qt58-env.sh;
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- xauth generate :99.0 . trusted
# 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:
- coverage run -a --include=pywinauto/mouse.py pywinauto/unittests/test_mouse.py
- coverage run -a --include=pywinauto/linux/keyboard.py pywinauto/unittests/test_keyboard.py
- coverage run -a --include=pywinauto/linux/clipboard.py pywinauto/unittests/test_clipboard_linux.py
after_success:
- codecov
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/.benxiong/pywinauto.git
git@gitee.com:.benxiong/pywinauto.git
.benxiong
pywinauto
pywinauto
master

搜索帮助