mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
bf378916af
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.
24 lines
494 B
YAML
24 lines
494 B
YAML
language: bash
|
|
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: "Stack Tests"
|
|
services: docker
|
|
env: STACK=heroku-16
|
|
script: ./tests.sh
|
|
|
|
- stage: "Stack Tests"
|
|
services: docker
|
|
env: STACK=cedar-14
|
|
script: ./tests.sh
|