资源简介
QGIS最新稳定版,该资源从官网下载,已经编译验证过,比QGIS2强大了很多。
代码片段和文件信息
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
“““
***************************************************************************
ctest2travis.py
---------------------
Date : March 2017
Copyright : (C) 2017 by Matthias Kuhn
Email : matthias@opengis.ch
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License or *
* (at your option) any later version. *
* *
***************************************************************************
“““
__author__ = ‘Matthias Kuhn‘
__date__ = ‘March 2017‘
__copyright__ = ‘(C) 2017 Matthias Kuhn‘
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = ‘4a4b62ed19d2333b1f3a9e72bf77119048e3c9c0‘
# This script parses output from ctest and injects
#
# - Colors for failing unit tests and test cases
#
# - ‘travis_fold‘ control sequences to hide uninteresting output by default
import sys
import re
import shlex
import subprocess
from termcolor import colored
fold_stack = list()
def start_fold(tag):
sys.stdout.write(‘travis_fold:start:{}\n‘.format(tag))
fold_stack.append(tag)
def end_fold():
try:
tag = fold_stack.pop()
sys.stdout.write(‘travis_fold:end:{}\n‘.format(tag))
except IndexError:
updated_line = colored(“======================“ ‘magenta‘)
updated_line += colored(“ctest2travis error when processing the following line:“ ‘magenta‘)
updated_line += colored(“----------------------“ ‘magenta‘)
updated_line += colored(updated_line ‘magenta‘)
updated_line += colored(“----------------------“ ‘magenta‘)
updated_line += colored(“Tried to end fold but fold was never started.“ ‘magenta‘)
updated_line += colored(“======================“ ‘magenta‘)
test_count = 0
def start_test_fold():
global test_count
sys.stdout.write(‘Running tests‘)
start_fold(‘test.{}‘.format(test_count))
test_count += 1
in_failing_test = False
in_failure = False
p = subprocess.Popen(sys.argv[1:] stdout=subprocess.PIPE)
for line in p.stdout:
updated_line = line.decode(‘utf-8‘)
if re.match(‘Run dashboard with model Experimental‘ updated_line):
start_fold(‘build‘)
updated_line = ‘{title}\n{line}‘.format(title=colored(‘Running tests...‘ ‘yellow‘ attrs=[‘bold‘]) line=updated_line)
elif re.match(‘Test project /home/travis/build/qgis/QGIS/build‘ updated_line):
end_fold() # tag=build
start_test_fold()
if re.search(‘\*\*\*Failed‘ updated_line) or re.search(‘\*\*\*Timeout‘ updated_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.ci\
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\code_layout\
文件 900 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\code_layout\after_sc
文件 1057 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\code_layout\before_install.sh
文件 901 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\code_layout\before_sc
文件 1070 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\code_layout\install.sh
文件 1171 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\code_layout\sc
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\
文件 904 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\after_sc
文件 927 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\before_install.sh
文件 3202 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\before_sc
文件 758 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\blacklist.txt
文件 4476 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\docker-build-test.sh
文件 941 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\install.sh
文件 1729 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\linux\sc
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\
文件 30 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\after_sc
文件 1721 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\before_install.sh
文件 21 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\before_sc
文件 1220 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\blacklist.txt
文件 1866 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\install.sh
文件 1843 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\macos\sc
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\sc
文件 4361 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\sc
文件 221 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\sc
文件 4189 2018-10-26 12:32 QGIS-ltr-3_4\.ci\travis\travis.ctest
目录 0 2018-10-26 12:32 QGIS-ltr-3_4\.docker\
文件 1019 2018-10-26 12:32 QGIS-ltr-3_4\.docker\docker-compose.travis.yml
文件 961 2018-10-26 12:32 QGIS-ltr-3_4\.docker\qgis.dockerfile
............此处省略16933个文件信息
- 上一篇:soapUI安装包
- 下一篇:MTCNN-caffe版本训练数据
评论
共有 条评论