1
0
Fork 0
mirror of https://codeberg.org/demostf/sync.git synced 2026-06-03 16:44:07 +02:00

install tarpaulin

This commit is contained in:
Robin Appelman 2019-06-14 16:20:31 +02:00
commit 8f3609f5d3
2 changed files with 12 additions and 3 deletions

View file

@ -5,10 +5,17 @@ rust:
- beta - beta
- nightly - nightly
before_cache: |
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin -f
fi
scripts: scripts:
- cargo build - cargo build
- cargo test - cargo test
after_success: after_success: |
- cargo tarpaulin --all-features --out Xml if [[ "$TRAVIS_RUST_VERSION" == nightly ]]; then
- bash <(curl -s https://codecov.io/bash) cargo tarpaulin --all-features --out Xml
bash <(curl -s https://codecov.io/bash)
fi

View file

@ -1,5 +1,7 @@
# Sync # Sync
[![Build Status](https://travis-ci.org/demostf/sync-rs.svg?branch=master)](https://travis-ci.org/demostf/sync-rs)
Websocket api to sync playback of demos Websocket api to sync playback of demos
By default the websocker server listens on port 80, this can be changed by settings the PORT environment variable. By default the websocker server listens on port 80, this can be changed by settings the PORT environment variable.