From 9d6b6a03a6323f37f834100692f25b135aba8afa Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Tue, 14 Aug 2018 21:51:37 +0200 Subject: [PATCH] More descriptive steps + ensure Cask is found on path See https://circleci.com/docs/2.0/env-vars/#using-bash_env-to-set-environment-variables --- .circleci/config.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4e6a54a..738ee91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,11 +4,21 @@ version: 2.0 default: &default-steps steps: - checkout - - run: apt-get update - - run: apt-get install -y openjdk-8-jre make python git - - run: curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python - - run: export PATH="/root/.cask/bin:$PATH" - - run: make + - run: + name: Update APT packages + command: apt-get update + - run: + name: Install prerequisites + command: apt-get install -y openjdk-8-jre make python git + - run: + name: Install cask + command: curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python + - run: + name: Make Cask available on the path + command: echo 'export PATH="/root/.cask/bin:$PATH"' >> $BASH_ENV + - run: + name: Run the tests + command: make # Enumerated list of Emacs versions jobs: