Skip to content
Open
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
12 changes: 3 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
jobs:
build-and-test:
build:
working_directory: ~/clarify-hospital
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
Expand Down Expand Up @@ -52,17 +52,11 @@ jobs:
- restore_cache:
keys:
- v1-clarify-dep-{{ .Branch }}-{{ checksum "package.json" }}

- run:
name: export environments
working_directory: ~/clarify-hospital
command: echo -e "export ROLE=clarify\nexport HOSPITAL_HOME=$HOME/clarify-hospital\nexport DYNAMIC_MODEL_EXPLANATION=true\nexport CIRCLE_TOKEN=b52ee78ec408343f85d16c071a354061701252aa" >> $BASH_ENV

workflows:
version: 2
build-test-deploy:
jobs:
- build-and-test:
- build:
filters:
branches:
# ignore release branches to prevent recursive builds
Expand All @@ -72,4 +66,4 @@ workflows:
branches:
only: master
requires:
- build-and-test
- build