diff --git a/.travis.yml b/.travis.yml index 08d02cb..c881c22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,10 @@ before_script: - "./scripts/setup.sh" script: - cargo test + +after_success: | + sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev && + wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && + tar xzf master.tar.gz && mkdir kcov-master/build && cd kcov-master/build && cmake .. && make && + sudo make install && cd ../.. && + kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/codegenta-* diff --git a/Cargo.lock b/Cargo.lock index 01a281c..21b522e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "codegenta" -version = "0.0.3" +version = "0.0.4" dependencies = [ "chrono 0.2.16 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index f782641..d586ed3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "codegenta" -version = "0.0.3" +version = "0.0.4" authors = [ "Jovansonlee Cesar " ] license = "MIT" description = "A model code generator from database table using rustorm ORM" @@ -22,13 +22,13 @@ name = "codegenta" #features = ["sqlite"] [dependencies.chrono] -version = "*" +version = "0.2.16" features = ["rustc-serialize"] [dependencies] -rustc-serialize = "*" -uuid = "*" -time = "*" +rustc-serialize = "0.3.16" +uuid = "0.1.18" +time = "0.1.33"