Commit bf378916 authored by Ed Morley's avatar Ed Morley Committed by Kenneth Reitz

Speed up the multi-stage Travis run (#443)

Reduces the impact on Travis runtime caused by #438, by:
* Making the shellcheck job run on the container infra (`sudo: false`)
  which has faster boot times.
* Running the heroku-16 and cedar-14 stack tests in parallel, since
  previously they were separate stages (which are run in series by
  design).

Reduces Travis end-to-end time from ~10 minutes to ~6 minutes.
parent c029e44d
language: bash
# sudo: required
addons:
apt:
sources:
- debian-sid # Grab shellcheck from the Debian repo (o_O)
packages:
- shellcheck
services:
- docker
# install: docker pull heroku/cedar:14
dist: trusty
jobs:
include:
- stage: "Bash linting (shellcheck)"
sudo: false
addons:
apt:
sources:
- debian-sid # Grab shellcheck from the Debian repo (o_O)
packages:
- shellcheck
script: make check
- stage: "Heroku-16 Stack Tests"
- stage: "Stack Tests"
services: docker
env: STACK=heroku-16
script: ./tests.sh
env:
- STACK=heroku-16
- stage: "Cedar-14 Stack Tests"
- stage: "Stack Tests"
services: docker
env: STACK=cedar-14
script: ./tests.sh
env:
- STACK=cedar-14
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment