summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/circle.yml b/circle.yml
index e7e348635f..0e89074bfb 100644
--- a/circle.yml
+++ b/circle.yml
@@ -52,6 +52,15 @@ workflows:
only: /node-.*/
step-library:
+ - &npm-install
+ run:
+ name: npm install
+ command: npm install --ignore-scripts
+ - &prepare-environment
+ run:
+ name: Prepare environment
+ command: touch "$BASH_ENV" && ./scripts/environment.js | tee -a "$BASH_ENV"
+
- &generate-cache-key
run:
name: Generate cache key
@@ -285,13 +294,12 @@ jobs:
BUILDTYPE: Debug
steps:
- checkout
+ - *npm-install
+ - *prepare-environment
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
- run:
- name: Fetch 'origin/master' branch
- command: git fetch origin master:refs/remotes/origin/master
- - run:
name: Generate compilation database
command: make compdb
- *show-ccache-stats