~nickbp/kapiti

1d8dac97ea5dad29ba1cb56451a95a529293e7f1 — Nick Parker 6 months ago 9d467b7
Try setting up basic build CI
2 files changed, 9 insertions(+), 12 deletions(-)

A .build.yml
D .gitlab-ci.yml
A .build.yml => .build.yml +9 -0
@@ 0,0 1,9 @@
image: alpine/edge
packages:
- cargo
environment:
  repo: kapiti
tasks:
- build: |
    cd $repo/
    cargo test --all

D .gitlab-ci.yml => .gitlab-ci.yml +0 -12
@@ 1,12 0,0 @@
image: "rust:latest"

# Add redis container for integration tests. Should be accessible at hostname "redis"
# See also: https://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
services:
- redis:latest

# Build/test all targets, including examples
test:cargo:
  script:
  - rustc --version && cargo --version
  - cargo test --all