From 184e63e4e3218232e38942dab7d86d5216a6ba92 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Fri, 10 Feb 2017 16:28:09 -0700 Subject: [PATCH] Updated circle based on feedback --- circle.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/circle.yml b/circle.yml index 90da5084e..653b0e7d4 100644 --- a/circle.yml +++ b/circle.yml @@ -11,9 +11,14 @@ stages: build: workDir: ~/talk environment: - - "PATH=$PATH:~/talk/node_modules/.bin" - - "NODE_ENV=test" + - NODE_ENV: test steps: + - type: shell + shell: /bin/bash + command: | + # add in path rewrite + echo "PATH=$PATH:~/talk/node_modules/.bin" >> ~/.bashrc + # Get the code - type: checkout @@ -23,7 +28,7 @@ stages: # Install dependencies - type: shell - shell: /bin/bash + shell: /bin/bash -l command: | # install yarn npm install -g yarn @@ -39,7 +44,7 @@ stages: # Build the dependencies - type: shell - shell: /bin/bash + shell: /bin/bash -l command: | # build static dependencies yarn build @@ -48,7 +53,7 @@ stages: yarn lint - type: shell - shell: /bin/bash + shell: /bin/bash -l command: | # Initialize the settings in the database, this will create indicies # for the database.