Revert "ci, add codecov ()"

This reverts commit 0b84fc9b6b.
This commit is contained in:
Basile Burg 2019-01-03 03:05:03 +01:00
parent b416de96eb
commit 436a961934
6 changed files with 3 additions and 27 deletions

View File

@ -1,6 +0,0 @@
coverage:
precision: 2
round: down
range: "70...98"
fixes:
- "temp/::"

1
.gitignore vendored
View File

@ -16,7 +16,6 @@
# D Scanner binaries
/bin
/temp
# Static analysis reports
dscanner-report.json

View File

@ -2,6 +2,7 @@ sudo: false
language: d
d:
- dmd
- ldc-beta
- ldc
os:
- linux
@ -86,5 +87,3 @@ jobs:
stages:
- name: test
if: type = pull_request or (type = push and branch = master)
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -1,7 +1,6 @@
# D-Scanner
[![CI status](https://travis-ci.org/dlang-community/D-Scanner.svg?branch=master)](https://travis-ci.org/dlang-community/D-Scanner/)
[![codecov](https://codecov.io/gh/dlang-community/D-Scanner/branch/master/graph/badge.svg)](https://codecov.io/gh/dlang-community/D-Scanner)
[![Latest version](https://img.shields.io/dub/v/dscanner.svg)](http://code.dlang.org/packages/dscanner)
[![License](https://img.shields.io/dub/l/dscanner.svg)](http://code.dlang.org/packages/dscanner)

View File

@ -13,7 +13,6 @@ LIB_SRC := \
$(shell find libdparse/src/dparse/ -name "*.d")\
$(shell find libddoc/src -name "*.d") \
$(shell find stdx-allocator/source -name "*.d")
CI_COV := $(shell [[ ${CI} == "TRUE" ]] && echo -cov || echo "")
PROJECT_SRC := $(shell find src/ -name "*.d")
SRC := $(LIB_SRC) $(PROJECT_SRC)
INCLUDE_PATHS = \
@ -43,7 +42,7 @@ debug: githash
${DC} -w -g -Jbin -ofdsc ${VERSIONS} ${DEBUG_VERSIONS} ${INCLUDE_PATHS} ${SRC}
dmdbuild: githash
${DC} ${DMD_FLAGS} -ofbin/dscanner ${VERSIONS} ${INCLUDE_PATHS} ${SRC} ${CI_COV}
${DC} ${DMD_FLAGS} -ofbin/dscanner ${VERSIONS} ${INCLUDE_PATHS} ${SRC}
rm -f bin/dscanner.o
gdcbuild: githash
@ -57,7 +56,7 @@ bin/dscanner-unittest-lib.a: ${LIB_SRC}
${DC} ${DMD_TEST_FLAGS} -c ${INCLUDE_PATHS} ${LIB_SRC} -of$@
test: bin/dscanner-unittest-lib.a githash
${DC} ${DMD_TEST_FLAGS} -unittest ${INCLUDE_PATHS} bin/dscanner-unittest-lib.a ${PROJECT_SRC} ${CI_COV} -ofbin/dscanner-unittest
${DC} ${DMD_TEST_FLAGS} -unittest ${INCLUDE_PATHS} bin/dscanner-unittest-lib.a ${PROJECT_SRC} -ofbin/dscanner-unittest
./bin/dscanner-unittest
rm -f bin/dscanner-unittest

View File

@ -37,20 +37,6 @@ import inifiled;
import dsymbol.modulecache;
version(D_Coverage)
{
shared static this()
{
import core.runtime: dmd_coverSetMerge, dmd_coverDestPath, dmd_coverSourcePath;
dmd_coverSetMerge(true);
auto rootDir = __FILE_FULL_PATH__.dirName.dirName.dirName;
auto destDir = rootDir ~ dirSeparator ~ "temp";
mkdirRecurse(destDir);
dmd_coverDestPath(destDir);
dmd_coverSourcePath(rootDir);
}
}
version (unittest)
void main()
{