summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2015-06-01 14:32:39 +0200
committerpierresy <pierre-henri.symoneaux@alcatel-lucent.com>2015-06-01 14:32:39 +0200
commit7530f0378eed2ea9d65766fc711323616f8e9de1 (patch)
tree37d1d4b4c5e437a3bb0b979c2d32789c34839d9b
parent3fe16260a41dc1cf35fbb01d3d05bc4171e9144e (diff)
Testing appveyor CI
-rw-r--r--README.md1
-rw-r--r--appveyor.yml12
-rw-r--r--src/main.rs1
3 files changed, 13 insertions, 1 deletions
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()),