Add CircleCi config

This commit is contained in:
Anton Vakhrushev 2019-11-08 16:37:47 +03:00
parent 483f6c8bd6
commit 639888d227
4 changed files with 19 additions and 3 deletions

13
.circleci/config.yml Normal file
View File

@ -0,0 +1,13 @@
version: 2.1
jobs:
build:
docker:
- image: docker:19.03.4
steps:
- setup_remote_docker
- checkout
- run: apk add -u make zip git curl
- run: pwd; ls -la; make install
- run: pwd; ls -la; tools/shards install
- run: pwd; ls -la; make spec
- run: pwd; ls -la; make build

View File

@ -7,8 +7,11 @@ build-docker:
docker pull alpine:edge
docker build -t $(APP_NAME)-crystal .
install-shards:
shards install
.PHONY: install
install: build-docker
install: build-docker install-shards
.PHONY: build
build:

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -eu

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -eu