Compare commits

...

2 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet d756f84269
Update README to reflect change in source code
continuous-integration/drone/push Build is passing Details
2022-02-13 00:08:22 +01:00
Lucien Cartier-Tilet 65466dd0c6
Replace Gitlab CI with Drone
continuous-integration/drone/push Build is passing Details
2022-02-12 23:52:48 +01:00
3 changed files with 24 additions and 16 deletions

22
.drone.yml Normal file
View File

@ -0,0 +1,22 @@
kind: pipeline
type: docker
name: rust-stable
steps:
- name: stable
image: rust:latest
commands:
- cargo build --verbose
- cargo test
---
kind: pipeline
type: docker
name: rust-nightly
steps:
- name: nightly
image: rustlang/rust:nightly
commands:
- cargo build --verbose
- cargo test

View File

@ -1,14 +0,0 @@
stages:
- build
rust-latest:
stage: build
image: rust:latest
script:
- cargo build --verbose
rust-nightly:
stage: build
image: rustlang/rust:nightly
script:
- cargo build --verbose

View File

@ -3,7 +3,7 @@
[![Downloads](https://img.shields.io/crates/d/output_vt100.svg?style=flat)](https://crates.io/crates/output_vt100)
[![MIT Licensed](https://img.shields.io/crates/l/output_vt100.svg?style=flat)](https://crates.io/crates/output_vt100)
[![AppVeyor CI](https://img.shields.io/appveyor/ci/Phundrak/output-vt100-rs.svg?style=flat)](https://ci.appveyor.com/project/Phundrak/output-vt100-rs)
[![pipeline status](http://labs.phundrak.fr/phundrak/output-vt100-rs/badges/master/pipeline.svg)](http://labs.phundrak.fr/phundrak/output-vt100-rs/commits/master)
[![Build Status](https://drone.phundrak.com/api/badges/phundrak/output-vt100-rs/status.svg)](https://drone.phundrak.com/phundrak/output-vt100-rs)
# Output-VT100
@ -36,7 +36,7 @@ fn main() {
```
Not that init panics on error, if you do not wish to panic, use
`output_vt100::try_init` which returns a `Result<(), ()>`
`output_vt100::try_init` which returns a `Result<(), InitError>`
# Acknowledgements