Skip to content

Commit

Permalink
fixup! wip: move unit tests to circle
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Jan 5, 2019
1 parent 4c868cb commit 23320fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .circleci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,20 @@ setSecretVar CI_SECRET_PAYLOAD_FIREBASE_TOKEN "$ANGULAR_PAYLOAD_TOKEN";
setSecretVar CI_SECRET_SLACK_CARETAKER_WEBHOOK_URL "$SLACK_CARETAKER_WEBHOOK_URL";


####################################################################################################
# Define SauceLabs environment variables for CircleCI.
####################################################################################################
# Used by karma and karma-chrome-launcher
# In order to have a meaningful SauceLabs badge on the repo page,
# the angular2-ci account is used only when pushing commits to master;
# in all other cases, the regular angular-ci account is used.
if [ "${CI_PULL_REQUEST}" = "false" ] && [ "${CI_BRANCH}" = "master" ]; then
setPublicVar SAUCE_USERNAME angular2-ci
setSecretVar SAUCE_ACCESS_KEY 693ebc16208a-0b5b-1614-8d66-a2662f4e
else
setPublicVar SAUCE_USERNAME angular-ci
setSecretVar SAUCE_ACCESS_KEY 9b988f434ff8-fbca-8aa4-4ae3-35442987
fi

# Source `$BASH_ENV` to make the variables available immediately.
source $BASH_ENV;

0 comments on commit 23320fc

Please sign in to comment.