From 7530f0378eed2ea9d65766fc711323616f8e9de1 Mon Sep 17 00:00:00 2001 From: pierresy Date: Mon, 1 Jun 2015 14:32:39 +0200 Subject: Testing appveyor CI --- README.md | 1 + appveyor.yml | 12 ++++++++++++ src/main.rs | 1 - 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 appveyor.yml diff --git a/README.md b/README.md index c2f1966..8533319 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ![License](http://img.shields.io/badge/license-BSD-lightgrey.svg) [![Build Status](https://travis-ci.org/phsym/tabprint.svg)](https://travis-ci.org/phsymtabprint) +[![Build status](https://ci.appveyor.com/api/projects/status/wdh9klb35fed6ik9?svg=true)](https://ci.appveyor.com/project/phsym/tabprint) # tabprint diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..11ef29f --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,12 @@ +install: + - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.0.0-x86_64-pc-windows-gnu.exe' + - rust-1.0.0-x86_64-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - rustc -V + - cargo -V + +build: + - cargo build --verbose + +test_script: + - cargo test --verbose \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index fbf3b40..ec9d2fe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,6 @@ use tabprint::cell::Cell; fn main() { let mut table = Table::new(row!["ABC", "DEFG", "HIJKLMN"]); table.add_row(row!["foobar", "bar", "foo"]).unwrap(); - table.add_row(row!["foobar2", "bar2", "foo2"]).unwrap(); table.add_row(Row::new(vec![ Cell::new(&"foobar2".to_string()), Cell::new(&"bar2".to_string()), -- cgit v1.2.3