From 533f2452bd9bd32d5eb75bf28722d94f2e28294b Mon Sep 17 00:00:00 2001 From: Ales Katona Date: Wed, 23 Jan 2019 14:20:19 -0700 Subject: [PATCH] add missing udev --- .gitlab-ci.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3cdcf5..9a0be79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,21 @@ +image: rust:latest + stages: + - sysdep - build + - test + +sysdep: + stage: sysdep + script: + - apt-get install libudev-dev -rust-latest: +build: stage: build - image: rust:latest script: - cargo build --verbose --features backend_piston,backend_gilrs - - cargo test --verbose --features backend_piston,backend_gilrs -rust-nightly: - stage: build - image: rustlang/rust:nightly +test: + stage: test script: - - cargo build --verbose - - cargo test --verbose - allow_failure: true + - cargo test --features backend_piston,backend_gilrs