From 6b165314ecf5ae4006d31295bf433a5989d71af1 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Fri, 22 Jun 2018 12:08:57 +0000 Subject: [PATCH] travis: build on minimum and current toolchains This checks that master and further PRs won't break on current toolchains, nor on older ones used by downstream distributions (pinning to 1.26 for historical ContainerLinux compatibility). --- .travis.yml | 9 ++++++++- README.md | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b50fe325..d97896f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,10 @@ language: rust rust: - - 1.26.0 + - 1.26.0 # minimum supported toolchain + - stable + - beta + - nightly + +matrix: + allow_failures: + - rust: nightly diff --git a/README.md b/README.md index efc688c2..6ce23691 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -# CoreOS Metadata +# coreos-metadata + +[![Build Status](https://travis-ci.org/coreos/coreos-metadata.svg?branch=master)](https://travis-ci.org/coreos/coreos-metadata) +![minimum rust 1.26](https://img.shields.io/badge/rust-1.26%2B-orange.svg) This is a small utility, typically used in conjunction with [Ignition][ignition], which reads metadata from a given cloud-provider and applies it to the system. This can include adding SSH keys and writing cloud-specific attributes into an environment file (e.g. `/run/metadata/coreos`), which can then be consumed by systemd service units via `EnvironmentFile=`.