Skip to content

Commit

Permalink
Infrastructural changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-tkach committed Feb 1, 2018
1 parent 2817486 commit d483edb
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 119 deletions.
File renamed without changes.
31 changes: 21 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ addons:

rust:
- stable

matrix:
allow_failures:
- env: FEATURE=non-fatal-checks
Expand Down Expand Up @@ -89,39 +90,49 @@ install:
;;
esac
- cargo install --list

script: |
case "$FEATURE" in
"fmt" )
cd exonum && cargo update && cd .. &&
cd sandbox && cargo update && cd .. &&
cd exonum && cargo audit && cd .. &&
cargo update &&
cd exonum &&
cd exonum && cargo fmt -- --write-mode=diff && cd .. &&
cd sandbox && cargo fmt -- --write-mode=diff && cd ..
cd sandbox && cargo fmt -- --write-mode=diff && cd .. &&
cd testkit && cargo fmt -- --write-mode=diff && cd ..
;;
"clippy-core" )
cd exonum && cargo clippy --verbose --features long_benchmarks -- -D warnings
cd exonum && cargo clippy --verbose --features long_benchmarks -- -D warnings
;;
"clippy-sandbox" )
cd sandbox && cargo clippy --verbose -- -D warnings
;;
"clippy-testkit" )
cd testkit && cargo clippy --verbose -- -D warnings
;;
"test-core" )
cargo test --manifest-path exonum/Cargo.toml --verbose --tests --lib --features "float_serialize"
cargo test -p exonum --verbose --tests --lib --features "float_serialize"
;;
"test-sandbox" )
cargo test --manifest-path sandbox/Cargo.toml --verbose
cargo test -p sandbox --verbose
;;
"test-testkit" )
cargo test -p exonum-testkit --verbose
;;
"test-doc" )
cargo test --manifest-path sandbox/Cargo.toml --verbose --doc -- --test-threads=2
cargo test -p sandbox --verbose --doc -- --test-threads=2
;;
"examples" )
cargo run -p exonum-testkit --example timestamping &&
cargo run -p exonum-testkit --example configuration_change
;;
"non-fatal-checks" )
cd exonum &&
cargo doc --no-deps &&
cargo deadlinks --dir target/doc &&
cargo outdated --exit-code 1
;;
"benchmarks" )
RUST_LOG=off cargo bench --verbose --manifest-path exonum/Cargo.toml --features long_benchmarks --no-run
RUST_LOG=off cargo bench --verbose --manifest-path exonum/Cargo.toml --features long_benchmarks --no-run
;;
esac
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[workspace]
members = [
"exonum",
"sandbox",
"testkit",
]
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ virtually any problem domain, including FinTech, GovTech, and LegalTech. The Exo
oriented towards creating permissioned blockchains, that is, blockchains with the known set of
blockchain infrastructure providers.

* [What is Exonum?](https://exonum.com/doc/get-started/what-is-exonum/)
* [Design Overview](https://exonum.com/doc/get-started/design-overview/)
* [Installation guide](https://exonum.com/doc/get-started/install/)
* [Tutorial](https://exonum.com/doc/get-started/create-service/)
* [Roadmap](https://exonum.com/doc/roadmap/)
* [Full Specification](https://exonum.com/doc/)
* [Reference documentation](https://docs.rs/exonum)
* [Contributing guide](https://github.com/exonum/exonum/blob/master/CONTRIBUTING.md)
* [Changelog](https://github.com/exonum/exonum/blob/master/CHANGELOG.md)

## LICENSE

Exonum core library is licensed under the Apache License (Version 2.0). See [LICENSE](https://github.com/exonum/exonum/blob/master/LICENSE) for details.
This is the main Exonum repository that includes
* [Exonum core library](https://github.com/exonum/exonum/blob/master/exonum/README.md).
* Services:
* Configuration service.
* Time service.
* Demos
* Cryprocurrency.

See individual projects' readme for the details.
1 change: 0 additions & 1 deletion exonum/README.md

This file was deleted.

24 changes: 24 additions & 0 deletions exonum/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Exonum

[![Build Status](https://travis-ci.org/exonum/exonum.svg?branch=master)](https://travis-ci.org/exonum/exonum)
[![Join the chat at https://gitter.im/exonum/exonum](https://badges.gitter.im/exonum/exonum.svg)](https://gitter.im/exonum/exonum)

[Exonum](https://exonum.com/) is an extensible open-source framework for creating blockchain
applications. Exonum can be used to create cryptographically powered distributed ledgers in
virtually any problem domain, including FinTech, GovTech, and LegalTech. The Exonum framework is
oriented towards creating permissioned blockchains, that is, blockchains with the known set of
blockchain infrastructure providers.

* [What is Exonum?](https://exonum.com/doc/get-started/what-is-exonum/)
* [Design Overview](https://exonum.com/doc/get-started/design-overview/)
* [Installation guide](https://exonum.com/doc/get-started/install/)
* [Tutorial](https://exonum.com/doc/get-started/create-service/)
* [Roadmap](https://exonum.com/doc/roadmap/)
* [Full Specification](https://exonum.com/doc/)
* [Reference documentation](https://docs.rs/exonum)
* [Contributing guide](https://github.com/exonum/exonum/blob/master/CONTRIBUTING.md)
* [Changelog](https://github.com/exonum/exonum/blob/master/CHANGELOG.md)

## LICENSE

Exonum core library is licensed under the Apache License (Version 2.0). See [LICENSE](https://github.com/exonum/exonum/blob/master/LICENSE) for details.
4 changes: 2 additions & 2 deletions sandbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ publish = false
authors = ["The Exonum Team <exonum@bitfury.com>"]

[dependencies]
exonum = {version="0.5", path="../exonum"}
exonum = { version = "0.5", path = "../exonum" }

log = "0.4.1"
env_logger = "0.5.3"
clap = {version="2.25.0", features=["unstable"]}
clap = { version = "2.25.0", features = ["unstable"] }
rand = "0.4.2"
bit-vec = "0.4.4"
futures = "0.1.14"
1 change: 0 additions & 1 deletion testkit/.gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions testkit/.gitignore

This file was deleted.

58 changes: 0 additions & 58 deletions testkit/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion testkit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ synchronously.
travis-ci = { repository = "exonum/exonum-testkit" }

[dependencies]
exonum = "0.5.0"
exonum = { version = "0.5", path = "../exonum" }
futures = "0.1.14"
log = "0.4.1"
serde = "1.0.0"
Expand Down
28 changes: 0 additions & 28 deletions testkit/appveyor.yml

This file was deleted.

2 changes: 0 additions & 2 deletions testkit/rustfmt.toml

This file was deleted.

0 comments on commit d483edb

Please sign in to comment.