File tree Expand file tree Collapse file tree 5 files changed +33
-20
lines changed Expand file tree Collapse file tree 5 files changed +33
-20
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ working_directory : ~/phobos
5
+ docker :
6
+ - image : circleci/node:4.8.2
7
+ parallelism : 1
8
+ steps :
9
+ - checkout
10
+ - run :
11
+ command : ./.circleci/run.sh install-deps
12
+ name : Install DMD
13
+ - run :
14
+ command : ./.circleci/run.sh setup-repos
15
+ name : Clone DMD & DRuntime
16
+ - run :
17
+ command : sudo apt-get update && sudo apt-get install -y gdb
18
+ name : Install gdb
19
+ - run :
20
+ command : ./.circleci/run.sh style_lint
21
+ name : Run code style & linter
22
+ - run :
23
+ command : ./.circleci/run.sh publictests
24
+ name : Run all public unittests
25
+ - run :
26
+ command : ./.circleci/run.sh coverage
27
+ name : Run Phobos testsuite with -cov
28
+ - run :
29
+ command : bash <(curl -s https://codecov.io/bash)
30
+ name : Upload coverage files to CodeCov
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ style_lint: dscanner $(LIB)
589
589
done
590
590
591
591
@echo "Check that Ddoc runs without errors"
592
- $(DMD) $(DFLAGS) -defaultlib= -debuglib= $(LIB) -w -D -Df/dev/null -main -c -o- $$(find etc std -type f -name '*.d') 2>&1 | grep -v "Deprecation:"; test $$? -eq 1
592
+ $(DMD) $(DFLAGS) -defaultlib= -debuglib= $(LIB) -w -D -Df/dev/null -main -c -o- $$(find etc std -type f -name '*.d') 2>&1
593
593
594
594
# ###############################################################################
595
595
# Check for missing imports in public unittest examples.
Original file line number Diff line number Diff line change @@ -1411,7 +1411,7 @@ template hasLength(R)
1411
1411
}
1412
1412
1413
1413
// test combinations which are invalid on some platforms
1414
- unittest
1414
+ @safe unittest
1415
1415
{
1416
1416
struct A { ulong length; }
1417
1417
struct B { @property uint length() { return 0 ; } }
@@ -1429,7 +1429,7 @@ unittest
1429
1429
}
1430
1430
1431
1431
// test combinations which are invalid on all platforms
1432
- unittest
1432
+ @safe unittest
1433
1433
{
1434
1434
struct A { long length; }
1435
1435
struct B { int length; }
You can’t perform that action at this time.
0 commit comments