28 Star 313 Fork 91

guofei9987 / scikit-opt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
guofei9987 提交于 2022-07-16 00:49 . Update .travis.yml
language: python
python:
- "3.6"
- "3.8"
# 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
Python
1
https://gitee.com/guofei9987/scikit-opt.git
git@gitee.com:guofei9987/scikit-opt.git
guofei9987
scikit-opt
scikit-opt
master

搜索帮助