summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml44
-rw-r--r--README.md8
2 files changed, 50 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..bba0512
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,44 @@
+language: rust
+
+rust:
+  - stable
+  - beta
+  - nightly
+
+os: 
+  - linux
+
+dist: xenial
+
+addons:
+  apt:
+    packages:
+      - libcurl4-openssl-dev
+      - libelf-dev
+      - libdw-dev
+      - libsqlcipher-dev
+      - libsqlcipher0
+      - cmake
+      - gcc
+      - binutils-dev
+      - libiberty-dev
+
+before_script:
+    - |
+      if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
+        cargo install grcov;
+        export CARGO_INCREMENTAL=0;
+        export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads";
+      fi
+
+script:
+    - cargo build --verbose $CARGO_OPTIONS
+    - cargo test --verbose $CARGO_OPTIONS
+
+after_script:
+    - |
+      if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
+        zip -0 ccov.zip `find . \( -name "clinte*.gc*" \) -print`;
+        grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore-dir "/*" -o lcov.info;
+        bash <(curl -s https://codecov.io/bash) -f lcov.info;
+      fi
diff --git a/README.md b/README.md
index 715de6c..5c789a5 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,8 @@
-# clinte
+# clinte &nbsp; [![Build Status](https://travis-ci.com/gbmor/clinte.svg?branch=master)](https://travis-ci.com/gbmor/clinte)
 
-Command-line community notice board.
+Command-line community notice board. Post simple notes for other users to see. Username is tagged automatically.
+
+Limits:
+* Title -> 30 chars
+* Body -> 500 chars
 
rtik Agaram <vc@akkartik.com> 2019-12-07 15:20:44 -0800 committer Kartik Agaram <vc@akkartik.com> 2019-12-07 18:05:06 -0800 5796 - move treeshake to a new tools/ directory' href='/akkartik/mu/commit/tools/treeshake_all?h=hlt&id=c1d596f56a6f2198ea8ea1b0a90c613e919d891b'>c1d596f5 ^
de0e57d3 ^
c1d596f5 ^


ab837e8f ^


de0e57d3 ^
ab837e8f ^



c1d596f5 ^

de0e57d3 ^
c1d596f5 ^


8fa73360 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63