continuous-testing 0.1.3

A continuous testing library
Documentation
![stable status](https://raw.githubusercontent.com/taishingi/zuu/master/assets/badges/stable.svg) ![beta status](https://raw.githubusercontent.com/taishingi/zuu/master/assets/badges/beta.svg)
![nightly status](https://raw.githubusercontent.com/taishingi/zuu/master/assets/badges/nightly.svg)


# Continuous testing

A simple tool to test your application in a virtual machine like you want.

## Installation

```bash
cargo install continuous-testing
```

## Usage

```sh
echo "#!/bin/sh\n\nencore" >> .git/hooks/commit-msg
chmod +x .git/hooks/commit-msg
```

## Manually

```sh
encore
```

## Requirement

It's require [Vagrant](https://developer.hashicorp.com/vagrant/downloads) and [Virtualbox](https://www.virtualbox.org/wiki/Downloads) installed on your system.


```yaml
# continuous.yml

watch: false # Turn on watch mode
wait: 600 # The wait time
directory: Encore # The tmp directory
os: archlinux/archlinux # The box to use
memory: 4096 # Memory to use
cpus: 8 # Cpus to use
show_output: true # Disable or enable console output
before_install: # Command to run before install
  - pacman -Syyu --noconfirm
install: # Command to install dependencies
  - pacman -Syyu gtk4 pango base base-devel git rustup --noconfirm
after_install: # after install command
  - rustup --version
before_script: # Command to ruin before script
  - git clone https://github.com/taishingi/zuu
  - cd zuu || exit 1
  - git log -1 --stat
script: # The commands to run test
  - cargo build
  - cargo test
after_success: # Command after success to run
  - echo "success"
after_failure: # Command after failure to run
  - echo "failure"
channels: # All rustup toolchains to support
  - stable
  - beta
  - nightly
badges_output: assets/badges # The output directory for badges mus be exist
badges_style: flatsquare # The style for badges like https://shields.io
```

## Repository structure

```sh
.
├──src
│   └── lib.rs
├──specs
│   ├── continuous.yml
│   └── README.md
├── Cargo.toml
├── LICENSE
└── README.md
```

# Social links

* [**Email**]mailto:micieli@vivaldi.net
* [**Donate**]https://www.paypal.com/donate/?hosted_button_id=D43VUM85PM724
* [**Github**]https://github.com/taishingi
* [**Discord**]https://discord.gg/U5gFCtfc