mirror of
https://github.com/TokTok/c-toxcore
synced 2026-07-29 05:19:22 +00:00
12 lines
344 B
Bash
Executable File
12 lines
344 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
read -a ci_env <<<"$(bash <(curl -s https://codecov.io/env))"
|
|
|
|
BUILD=coverage
|
|
other/docker/sources/build
|
|
docker build -t "toxchat/c-toxcore:$BUILD" -f "other/docker/$BUILD/$BUILD.Dockerfile" .
|
|
|
|
docker run "${ci_env[@]}" -e CI=true --name toxcore-coverage --rm -t toxchat/c-toxcore:coverage /usr/local/bin/codecov
|