加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
Hui Zhang 提交于 2020-08-27 20:08 . fix dockerfile using tf2.3.0
language: python
services:
- docker
before_install:
- export DELTA_PATH=`pwd`; echo $DELTA_PATH
- export DOCKER_DELTA="/home/gitlab-runner/delta"; echo $DOCKER_DELTA
- export CI_IMAGE=zh794390558/delta:2.3.0-ci-cpu-py3
- docker pull ${CI_IMAGE}
- docker run -it -d --name travis_con --user root -v ${DELTA_PATH}:${DOCKER_DELTA} ${CI_IMAGE} bash
- docker exec travis_con bash -c "gcc -v && g++ -v"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}; source env.sh"
#- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools; make basic check_install test"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools; make basic check_install"
- docker exec travis_con bash -c "cd ${DOCKER_DELTA}/tools/install; bash prepare_kaldi.sh"
jobs:
include:
- stage: test
script: docker exec travis_con bash -c "cd ${DOCKER_DELTA}; bash tools/test/python_test.sh"
- script: docker exec travis_con bash -c "cd ${DOCKER_DELTA}; bash tools/test/lint.sh"
#- script: docker exec travis_con bash -c "cd ${DOCKER_DELTA}; bash tools/test/cpp_test.sh"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化