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
This commit is contained in:
Carlo Sciolla 2018-08-14 21:51:37 +02:00
parent 4f4b8ffe91
commit 9d6b6a03a6
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
1 changed files with 15 additions and 5 deletions

View File

@ -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: