yesod-auth-oauth2/.circleci/config.yml
patrick brisbin 573b7b01a3 Disable 8.0.2 CI job
I just can't get the older LTS to solve after updating for yesod-1.6. I
will not in the CHANGELOG that, from this point, it may work on that
version, but we aren't explicitly testing it anymore.

8.4 is about to release, so it seems OK to start phasing out anyway, if
we're following a reasonable "current and one back" policy.
2018-04-21 10:49:05 -04:00

70 lines
1.6 KiB
YAML

---
version: 2.0
references:
stack_build: &stack_build
docker:
- image: fpco/stack-build:lts
steps:
- checkout
- run:
name: Digest
command: |
echo -- "$STACK_ARGUMENTS" > rdigest
git ls-files | xargs md5sum > sdigest
- restore_cache:
keys:
- 1-{{ .Branch }}-{{ checksum "rdigest" }}-{{ checksum "sdigest" }}
- 1-{{ .Branch }}-{{ checksum "rdigest" }}-
- 1-{{ .Branch }}-
- 1-master-
- run:
name: Dependencies
command: make setup
- run:
name: Build
command: make build
- save_cache:
key: 1-{{ .Branch }}-{{ checksum "rdigest" }}-{{ checksum "sdigest" }}
paths:
- ~/.stack
- ./.stack-work
- run:
name: Test
command: make test
- run:
name: Lint
command: |
if [ "${LINT:-1}" -eq 0 ]; then
echo "[LINT=0] Lint step skipped." >&2
else
make lint
fi
jobs:
build_8.0.2:
<<: *stack_build
environment:
# FIXME: https://circleci.com/gh/thoughtbot/yesod-auth-oauth2/115
LINT: "0"
STACK_ARGUMENTS: --stack-yaml stack-lts-9.21.yaml
build_8.2.2:
<<: *stack_build
environment:
STACK_ARGUMENTS: --stack-yaml stack-lts-10.3.yaml
build:
<<: *stack_build
build_nightly:
<<: *stack_build
environment:
STACK_ARGUMENTS: --resolver nightly
workflows:
version: 2
builds:
jobs:
# - build_8.0.2
- build_8.2.2
- build
# - build_nightly # hoauth2