Skip to content

Commit 5e034dd

Browse files
committedJun 17, 2019
Initial commit
0 parents  commit 5e034dd

File tree

1,063 files changed

+138786
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,063 files changed

+138786
-0
lines changed
 

‎.assets/libra.png

14.2 KB
Loading

‎.circleci/config.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/rust:stretch
6+
resource_class: xlarge
7+
steps:
8+
- checkout
9+
- run:
10+
name: Version Information
11+
command: rustc --version; cargo --version; rustup --version
12+
- run:
13+
name: Install Dependencies
14+
command: |
15+
sudo sh -c 'echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list'
16+
sudo apt-get update
17+
sudo apt-get install -y protobuf-compiler/stretch-backports cmake golang curl
18+
sudo apt-get clean
19+
sudo rm -r /var/lib/apt/lists/*
20+
rustup component add clippy rustfmt
21+
- run:
22+
name: Setup Env
23+
command: |
24+
echo 'export TAG=0.1.${CIRCLE_BUILD_NUM}' >> $BASH_ENV
25+
echo 'export IMAGE_NAME=myapp' >> $BASH_ENV
26+
- run:
27+
name: Linting
28+
command: |
29+
./scripts/clippy.sh
30+
cargo fmt -- --check
31+
- run:
32+
name: Build All Targets
33+
command: RUST_BACKTRACE=1 cargo build -j 16 --all --all-targets
34+
- run:
35+
name: Run All Unit Tests
36+
command: cargo test --all --exclude testsuite
37+
- run:
38+
name: Run All End to End Tests
39+
command: RUST_TEST_THREADS=2 cargo test --package testsuite

0 commit comments

Comments
 (0)
Please sign in to comment.