File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
2
+ language : rust
3
+
4
+ # Cache cargo symbols for faster build
5
+ cache : cargo
6
+
7
+ # Dependencies of kcov, used by coverage
8
+ addons :
9
+ apt :
10
+ packages :
11
+ - libcurl4-openssl-dev
12
+ - libelf-dev
13
+ - libdw-dev
14
+ - binutils-dev
15
+ - cmake # also required for cargo-update
16
+ sources :
17
+ - kalakris-cmake
18
+
19
+ before_script :
20
+ - export PATH=$HOME/.cargo/bin:$PATH
21
+ - cargo install cargo-update || echo "cargo-update already installed"
22
+ - cargo install cargo-travis || echo "cargo-travis already installed"
23
+ - cargo install-update -a # update outdated cached binaries
24
+
25
+ script :
26
+ - |
27
+ cargo build &&
28
+ cargo test --all --verbose &&
29
+ cargo bench &&
30
+ cargo doc
31
+
32
+ after_success :
33
+ # measure code coverage and upload to coveralls.io
34
+ - cargo coveralls
35
+ # upload documentation to github.io (gh-pages branch)
36
+ - cargo doc-upload
You can’t perform that action at this time.
0 commit comments