This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
service_name: travis-pro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,42 @@ | ||
language: rust | ||
|
||
# See travis-ci/travis-ci#9061 | ||
sudo: required | ||
|
||
# Cache cargo symbols for faster build | ||
cache: cargo | ||
|
||
# Dependencies of kcov, used by coverage | ||
addons: | ||
apt: | ||
packages: | ||
- libcurl4-openssl-dev | ||
- libelf-dev | ||
- libdw-dev | ||
- binutils-dev | ||
- cmake # also required for cargo-update | ||
sources: | ||
- kalakris-cmake | ||
|
||
# run builds for all the trains (and more) | ||
rust: | ||
- stable | ||
- beta | ||
- nightly | ||
|
||
matrix: | ||
allow_failures: | ||
- rust: nightly | ||
fast_finish: true | ||
fast_finish: true | ||
|
||
before_script: | ||
- export PATH=$HOME/.cargo/bin:$PATH | ||
- cargo install cargo-update || echo "cargo-update already installed" | ||
- cargo install cargo-travis || echo "cargo-travis already installed" | ||
- cargo install-update -a # update outdated cached binaries | ||
- pip install --user python-coveralls | ||
|
||
after_success: | ||
# measure code coverage and upload to coveralls.io | ||
- cargo coveralls --exclude-pattern /libargon2-sys,/tests,/beserial -p nimiq | ||
- coveralls --merge=target/kcov/merged-kcov-output/coveralls.out |