mirror of
https://github.com/usetrmnl/trmnl-liquid.git
synced 2026-08-13 23:18:19 -07:00
Necessary to switch over to Circle CI for this in order to be consistent with how we build both the TRMNL i18n and TRMNL API gems. Milestone: minor
37 lines
888 B
YAML
37 lines
888 B
YAML
version: 2.1
|
|
jobs:
|
|
build:
|
|
working_directory: ~/project
|
|
docker:
|
|
- image: bkuhlmann/alpine-ruby:latest
|
|
steps:
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
name: Gems Restore
|
|
keys:
|
|
- gem-cache-{{.Branch}}-{{checksum "Gemfile"}}-{{checksum "trmnl-liquid.gemspec"}}
|
|
- gem-cache-
|
|
|
|
- run:
|
|
name: Gems Install
|
|
command: |
|
|
gem update --system
|
|
bundle config set path "vendor/bundle"
|
|
bundle install
|
|
|
|
- save_cache:
|
|
name: Gems Store
|
|
key: gem-cache-{{.Branch}}-{{checksum "Gemfile"}}-{{checksum "trmnl-liquid.gemspec"}}
|
|
paths:
|
|
- vendor/bundle
|
|
|
|
- run:
|
|
name: Build
|
|
command: bin/rake
|
|
|
|
- store_artifacts:
|
|
name: SimpleCov Archive
|
|
path: ~/project/coverage
|
|
destination: coverage
|