Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Revert test results storage on CircleCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
emgre committed Jun 21, 2019
1 parent 9335ce5 commit 7db54c1
Showing 1 changed file with 7 additions and 29 deletions.
36 changes: 7 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,10 @@ aliases:
name: Build
command: cmake --build .
working_directory: build
- run: &unittests
name: Unit tests
command: mkdir results && ./cpp/tests/unit/unittests -r junit -o results/unittests.xml
- run: &test
name: Test
command: ctest -VV .
working_directory: build
- run: &asiotests
name: ASIO tests
command: ./cpp/tests/asiotests/asiotests -r junit -o results/asiotests.xml
working_directory: build
- run: &integrationtests
name: Integration tests
command: ./cpp/tests/integration/integrationtests -r junit -o results/integrationtests.xml
working_directory: build
- store_artifacts: &store_test_results
path: build/results
- run: &coverage
name: Code coverage
command: cmake --build . --target coverage && bash <(curl -s https://codecov.io/bash) -f coverage.info.cleaned
Expand Down Expand Up @@ -69,10 +59,7 @@ jobs:
command: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-unused-parameter -Wno-format-truncation" -DDNP3_TLS=ON -DDNP3_TESTS=ON -DDNP3_EXAMPLES=ON -DDNP3_COVERAGE=ON ..
working_directory: build
- run: *build
- run: *unittests
- run: *asiotests
- run: *integrationtests
- run: *coverage
- run: *test
- store_test_results: *store_test_results
#- run: *build_java
#- run: *test_java
Expand All @@ -91,10 +78,7 @@ jobs:
command: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror -Wno-unused-parameter -Wno-format-truncation" -DDNP3_TLS=ON -DDNP3_TESTS=ON -DDNP3_EXAMPLES=ON ..
working_directory: build
- run: *build
- run: *unittests
- run: *asiotests
- run: *integrationtests
- store_test_results: *store_test_results
- run: *test
#- run: *build_java
#- run: *test_java
#- run: *package
Expand All @@ -112,10 +96,7 @@ jobs:
command: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wno-unused-parameter -Werror" -DDNP3_TLS=ON -DDNP3_TESTS=ON -DDNP3_EXAMPLES=ON ..
working_directory: build
- run: *build
- run: *unittests
- run: *asiotests
- run: *integrationtests
- store_test_results: *store_test_results
- run: *test
#- run: *build_java
#- run: *test_java
#- run: *package
Expand All @@ -133,10 +114,7 @@ jobs:
command: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wno-unused-parameter -Werror" -DDNP3_TLS=ON -DDNP3_TESTS=ON -DDNP3_EXAMPLES=ON ..
working_directory: build
- run: *build
- run: *unittests
- run: *asiotests
- run: *integrationtests
- store_test_results: *store_test_results
- run: *test
#- run: *build_java
#- run: *test_java
#- run: *package
Expand Down

0 comments on commit 7db54c1

Please sign in to comment.