加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 787 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Run in container-based environment
sudo: required
dist: trusty
group: edge # Add this
# Using the precompiled toolchain from docker
services:
- docker
# define test
env:
global:
- DOCKER_TOP=/opt/lowrisc
- DOCKER_TAG=minion-v0.4
matrix:
- CONFIG=DefaultConfig TEST_CASE=run-asm-tests
- CONFIG=TagConfig TEST_CASE=run-asm-tests
- CONFIG=TagConfig TEST_CASE=run-tag-tests
# actual test build
before_install:
- docker pull lowrisc/lowrisc-docker:$DOCKER_TAG
before_script:
- docker create -v $PWD:/opt/lowrisc -e TOP=/opt/lowrisc -t --name=test lowrisc/lowrisc-docker:$DOCKER_TAG
- docker start test
script:
- docker exec test make -C $DOCKER_TOP/vsim CONFIG=$CONFIG $TEST_CASE
after_script:
- docker stop test
- docker rm test
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化