加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
wangzidong 提交于 2021-07-01 11:35 . RCGA-test
language: python
python:
- "3.6"
- "3.7"
# command to install dependencies
install:
- pip install --upgrade -r requirements.txt
- pip install coverage codecov
- python setup.py install
# command to run tests
script:
- coverage run -p sko/demo_func.py
- coverage run -p examples/demo_ga.py
- coverage run -p examples/demo_ga_tsp.py
- coverage run -p examples/demo_ga_udf.py
- coverage run -p examples/demo_ga_udf_tsp.py
- coverage run -p examples/demo_pso.py
- coverage run -p examples/demo_sa.py
- coverage run -p examples/demo_sa_tsp.py examples/data/nctu.csv
- coverage run -p examples/demo_aca_tsp.py
- coverage run -p examples/demo_ia.py
- coverage run -p examples/demo_afsa.py
- coverage run -p examples/demo_pso_ani.py
- coverage run -p examples/demo_de.py
- coverage run -p examples/vrp.py
- coverage run -p examples/example_function_modes.py
- coverage run -p examples/example_method_modes.py
- coverage run -p tests/test_x2gray.py
- coverage run -p examples/demo_rcga.py
# Push the results back to codecov
after_success:
- coverage combine
- codecov
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化