< 返回版块

ltoddy 发表于 2018-08-24 11:28

最近配置了一下circle ci,然后写了config.yml

defaults: &defaults
  docker:
    - image: circleci/rust


version: 2
jobs:
  test:
    <<: *defaults
    steps:
      - checkout
      - cargo check
      - cargo test
      - cargo build
      - cargo build --release

workflows:
  version: 2
  test:
    jobs:
      - test

然后去build镜像的时候,一直说 no tests, 请问有懂circle ci的人吗?怎么解决这个.

然后 源代码在github上:

https://github.com/ltoddy/parallel

评论区

写评论
Joey 2018-08-27 01:31

我最近配置了一下 travis和coverall,挺好用的,你可以看看 https://github.com/xcaptain/rust-algorithms/blob/master/.travis.yml

1 共 1 条评论, 1 页