1 Star 0 Fork 0

Cheng_Loon/imgaug

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
sudo: required
dist: trusty
language:
- python
- cpp
env:
global:
# - CODACY_PROJECT_TOKEN=63be83274aee4264aae7ba4c31d40677
- CODACY_PROJECT_TOKEN=1370ce38e99e40af842d47a8dd721444
cache:
directories:
- $HOME/.cache/pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq -y python-virtualenv # python-opencv
install:
# - virtualenv venv
# - . venv/bin/activate
- pip install -r requirements.txt
- pip install matplotlib # required to run some tests
- pip install coverage codecov pytest>=3.0.5 pytest-cov codacy-coverage # nose>=1.3.7
- pip install .
before_script:
- pip install flake8
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# currently deactivated as style guidelines are not yet kept in the project
# TODO change this
#- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- python tests/test.py
- coverage run --source imgaug --omit ./imgaug -m pytest tests/test.py --verbose --doctest-modules
# - nosetests tests/test.py -v --exe --with-doctest --with-xunit --with-coverage --cover-package=imgaug
after_success:
# - codecov -t 1be5afbb-64c5-40e0-a31d-9661518c0fd4
- codecov -t feeff9b2-3750-4246-befb-8cde60dc28aa
- coverage xml
- python-codacy-coverage -r coverage.xml
- coverage report
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Cheng_Loon/imgaug.git
git@gitee.com:Cheng_Loon/imgaug.git
Cheng_Loon
imgaug
imgaug
master

搜索帮助