Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
version: 2

_run:
notify_on_fail: &notify_on_fail
when: on_fail
command: |
wget https://raw.githubusercontent.com/segmentio/circleci-notifications/master/slack-notify-branch.sh
chmod u+x slack-notify-branch.sh
BUILD_STATUS="Failed" NOTIFY_BRANCH="master scheduled_e2e_testing" ./slack-notify-branch.sh

jobs:
build:
working_directory: /temp
Expand Down Expand Up @@ -50,7 +59,7 @@ jobs:
- run: dotnet test Test/Test.csproj
test_20:
working_directory: /test20
docker:
docker:
- image: microsoft/dotnet:2.0-sdk
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
Expand Down Expand Up @@ -97,6 +106,8 @@ jobs:
- run: dotnet restore Test.E2E/Test.E2E.csproj
- run: dotnet build Test.E2E/Test.E2E.csproj
- run: cd Test.E2E/ && ./e2e.sh
- run: *notify_on_fail

workflows:
version: 2
build_and_test:
Expand Down