From 84b869969ada004cde42740429aad33747dc25f8 Mon Sep 17 00:00:00 2001 From: Paul Rosset Date: Fri, 19 Oct 2018 11:30:23 +0200 Subject: [PATCH] Update Doc and snap version for new minor release --- README.md | 17 +++++------------ snapcraft.yaml | 4 ++-- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 737079b..f101750 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ [![Travis CI Build Status](https://api.travis-ci.com/PaulRosset/previs.svg?branch=master)](https://travis-ci.org/PaulRosset/previs) [![Snap Status](https://build.snapcraft.io/badge/PaulRosset/previs.svg)](https://build.snapcraft.io/user/PaulRosset/previs) +[![Previs latest version](https://img.shields.io/badge/dynamic/json.svg?label=Previs&url=https%3A%2F%2Fapi.github.com%2Frepos%2FPaulRosset%2Fprevis%2Freleases%2Flatest&query=%24.tag_name&colorB=blue)](https://github.com/PaulRosset/previs/releases) ### Motivation @@ -74,18 +75,8 @@ Once you are at the root of your repository where the `.travis.yml` or `.previs. The `-p` command indicate to previs to take the configuration of the `.previs.yml` instead of the `.travis.yml`. -Previs is for the moment supporting these commands: - -- Languages: - - Normally, all the language are already supported except the only languages name that differ between the travis config and the name of the image registered on the docker registry, in that case we have to add the entry in the dictionary. As an example the nodejs language demonstrate it. In the travis configuration we have to provide the name `node_js` but in the docker registry the official nodejs image is registered as `node`. - -- Commands: - - `language` - - `[nameoflanguage]: [version]` - - `before_install` - - `install` - - `before_script` - - `script` +**!IMPORTANT** +Go find out how Previs work right now and know more what you can do before using it, by checking out our [Wiki](https://github.com/PaulRosset/previs/wiki/Previs-Docs) Previs understand a failed build when the program ran is returning other than the **0** exit code. @@ -94,6 +85,8 @@ Previs understand a failed build when the program ran is returning other than th Concerning the workflow of testing, rather than create unit tests on multiple call systems that already been tested especially docker calls, we instead run the program in real world use case to verify nothing broke and prevent regressions. To understand it, you can check out the `.travis.yml` file that serve th is purpose. +On the other hand, for the configuration parsing of Travis mechanism, we have a package [travis](https://github.com/PaulRosset/previs/tree/master/travis) that is only doing this purpose and where some tests resides. + ### Contribute Any contributions is very welcomed, let's do something bigger and stronger together! diff --git a/snapcraft.yaml b/snapcraft.yaml index fd260dc..482617f 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,12 +1,12 @@ name: previs -version: '0.4.0' +version: '0.4.1' summary: Your very own local CI! description: | Previs is using the travis configuration file to provide your own local service of continous integration. No more accidental error that trigger a fail build, no more plumbing on your git history. But more than a local trevis, it provides you a way of testing in a sandboxed environment. -grade: stable # must be 'stable' to release into candidate/stable channels +grade: devel # must be 'stable' to release into candidate/stable channels confinement: strict parts: