Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #22 from media-cloud-ai/update_amqp_worker
Browse files Browse the repository at this point in the history
Update amqp worker
  • Loading branch information
MarcAntoine-Arnaud committed Mar 27, 2020
2 parents d3dc32f + 7c2339a commit 6ab61af
Show file tree
Hide file tree
Showing 7 changed files with 974 additions and 1,064 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Expand Up @@ -3,10 +3,10 @@ language: rust
os: linux

rust:
- 1.36.0
- 1.37.0
- 1.38.0
- 1.39.0
- 1.40.0
- 1.41.0
- 1.42.0
- stable
- beta
- nightly
Expand All @@ -26,6 +26,7 @@ jobs:
- cargo fmt --version
script:
- cargo fmt -- --check
env: FORMAT_CODE_CHECK=TRUE

# Clippy
- rust: stable
Expand All @@ -34,6 +35,7 @@ jobs:
script:
# Fail if clippy output contains "error:" or "warning:"
- cargo clippy 2>&1 | tee ./clippy.out && ! grep -qe "error:\|warning:" ./clippy.out
env: CLIPPY_CHECK=TRUE

# Test coverage (with Tarpaulin)
- rust: stable
Expand All @@ -42,6 +44,9 @@ jobs:
script:
- gcc -c -Wall -Werror -fpic worker.cpp && gcc -shared -o libworker.so worker.o
- cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
env:
- COVERAGE_CHECK=TRUE
- WORKER_LIBRARY_FILE=$TRAVIS_BUILD_DIR/libworker.so

script:
- gcc -c -Wall -Werror -fpic worker.cpp && gcc -shared -o libworker.so worker.o
Expand Down

0 comments on commit 6ab61af

Please sign in to comment.