diff --git a/.travis.yml b/.travis.yml index e6f216e..b3c322f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,12 +7,13 @@ matrix: include: - os: linux rust: stable - env: TARGET=x86_64-unknown-linux-musl + env: TARGET=x86_64-unknown-linux-gnu before_script: rustup target add $TARGET addons: apt: packages: - musl-tools + - libssl-dev - os: osx rust: stable env: TARGET=x86_64-apple-darwin diff --git a/README.md b/README.md index a9b5137..faf063c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # json_typegen - Rust types from JSON samples [![Travis Build Status](https://api.travis-ci.org/evestera/json_typegen.svg?branch=master)](https://travis-ci.org/evestera/json_typegen) +[![Appveyor build status](https://ci.appveyor.com/api/projects/status/github/evestera/json_typegen?svg=true)](https://ci.appveyor.com/project/BurntSushi/ripgrep) [![crates.io](https://img.shields.io/crates/v/json_typegen.svg)](https://crates.io/crates/json_typegen) [![docs.rs](https://docs.rs/json_typegen/badge.svg)](https://docs.rs/json_typegen/) diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh old mode 100644 new mode 100755 diff --git a/ci/script.sh b/ci/script.sh index d5cec81..8c7a68d 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -5,20 +5,20 @@ set -ex DIR="$(cd "$(dirname $0)/.." && pwd)" cd "$DIR/json_typegen_shared" -cargo build --verbose -cargo test --verbose +cargo build --target "$TARGET" --verbose +cargo test --target "$TARGET" --verbose cd "$DIR/json_typegen_cli" -cargo build --verbose -cargo test --verbose +cargo build --target "$TARGET" --verbose +cargo test --target "$TARGET" --verbose cd "$DIR/json_typegen_web" -cargo build --verbose -cargo test --verbose +cargo build --target "$TARGET" --verbose +cargo test --target "$TARGET" --verbose cd "$DIR/json_typegen" -cargo build --verbose -cargo test --verbose +cargo build --target "$TARGET" --verbose +cargo test --target "$TARGET" --verbose cd "$DIR/json_typegen_demo" -cargo run --verbose +cargo run --target "$TARGET" --verbose diff --git a/json_typegen/Cargo.toml b/json_typegen/Cargo.toml index 20efe4b..d9f4bb5 100644 --- a/json_typegen/Cargo.toml +++ b/json_typegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json_typegen" -version = "0.3.1" +version = "0.3.2" authors = ["Erik Vesteraas "] license = "MIT/Apache-2.0" description = "Procedural macro that generates Rust types from JSON samples" diff --git a/json_typegen_cli/Cargo.toml b/json_typegen_cli/Cargo.toml index 30b6e51..51d57a6 100644 --- a/json_typegen_cli/Cargo.toml +++ b/json_typegen_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json_typegen_cli" -version = "0.3.1" +version = "0.3.2" authors = ["Erik Vesteraas "] license = "MIT/Apache-2.0" description = "Command line utility for generating Rust types from JSON samples" diff --git a/json_typegen_demo/Cargo.toml b/json_typegen_demo/Cargo.toml index d582899..59c6b4d 100644 --- a/json_typegen_demo/Cargo.toml +++ b/json_typegen_demo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json_typegen_demo" -version = "0.3.1" +version = "0.3.2" authors = ["Erik Vesteraas "] license = "MIT/Apache-2.0" publish = false diff --git a/json_typegen_shared/Cargo.toml b/json_typegen_shared/Cargo.toml index 76fe4f0..5528841 100644 --- a/json_typegen_shared/Cargo.toml +++ b/json_typegen_shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json_typegen_shared" -version = "0.3.1" +version = "0.3.2" authors = ["Erik Vesteraas "] license = "MIT/Apache-2.0" description = "Codegen from JSON samples. Not intended to be used directly. See repository for the intended crates." diff --git a/json_typegen_web/Cargo.toml b/json_typegen_web/Cargo.toml index 8defa1f..853ad1f 100644 --- a/json_typegen_web/Cargo.toml +++ b/json_typegen_web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json_typegen_web" -version = "0.3.1" +version = "0.3.2" authors = ["Erik Vesteraas "] license = "MIT/Apache-2.0" publish = false