Run tests in infrastructure

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent ba9fae40d1
commit ea0b6fe654
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,18 +1,18 @@
# Generated by rust2rpm
%bcond_without check
%bcond_with check
%global debug_package %{nil}
%global crate bitstream-io
Name: rust-%{crate}
Version: 0.8.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library for reading/writing un-aligned values from/to streams
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/bitstream-io
Source0: %{crates_source}
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
@ -51,7 +51,7 @@ which use "default" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@ -66,5 +66,8 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Wed Mar 20 09:39:58 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.2-2
- Run tests in infrastructure
* Fri Mar 08 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.2-1
- Initial package

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-bitstream-io
Loading…
Cancel
Save