From a556d52f5cfa922bc755e22a4e052f0511bb692c Mon Sep 17 00:00:00 2001 From: Brian Grinstead Date: Fri, 16 Dec 2016 13:53:19 -0800 Subject: [PATCH] run cli tests in ci --- .travis.yml | 5 +++++ Cargo.toml | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 22761ba7..9ed6b679 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,6 @@ language: rust +script: + - cargo build --verbose + - cargo test --verbose + - cargo build --verbose -p datomish-cli + - cargo test --verbose -p datomish-cli \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 80fab194..ef843bb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,11 @@ version = "0.4.0" authors = ["Richard Newman ", "Nicholas Alexander "] [dependencies] + +[dev-dependencies] +[dev-dependencies.datomish-cli] + path = "cli" + +[[bin]] +name = "datomish-cli" +path = "cli/src/main.rs" \ No newline at end of file