Skip to content

Commit 884ae85

Browse files
committed
chore: update build & README to latest Crystal release
1 parent 7ed0ae0 commit 884ae85

3 files changed

Lines changed: 10 additions & 18 deletions

File tree

.travis.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
dist: xenial
2-
language: generic
3-
sudo: required
1+
language: crystal
42
services:
5-
- docker
63
- postgresql
7-
env:
8-
- POSTGRESQL_URL=postgres://postgres@localhost:5432/test
9-
before_install:
10-
- docker pull crystallang/crystal:nightly
11-
before_script:
12-
- psql -c 'create database test;' -U postgres
13-
- psql $POSTGRESQL_URL < db_spec/pg/migration.sql
144
script:
15-
- docker run -v ${PWD}:/x -w /x crystallang/crystal:nightly bash -c "/usr/bin/shards install"
16-
- docker run -v ${PWD}:/x -w /x crystallang/crystal:nightly bash -c "/usr/bin/crystal spec"
17-
- docker run -v ${PWD}:/x -w /x --net=host -e POSTGRESQL_URL=$POSTGRESQL_URL crystallang/crystal:nightly bash -c "/usr/bin/crystal spec db_spec/"
18-
- docker run -v ${PWD}:/x -w /x crystallang/crystal:nightly bash -c "/usr/bin/crystal docs"
5+
- crystal spec
6+
- env POSTGRESQL_URL=$POSTGRESQL_URL crystal spec db_spec
7+
- crystal docs
198
deploy:
209
provider: pages
2110
skip_cleanup: true
2211
github_token: $GITHUB_TOKEN
2312
on:
2413
branch: master
2514
local_dir: docs
15+
before_script:
16+
- psql -c 'create database test;' -U postgres
17+
- psql $POSTGRESQL_URL < spec/migration.sql
18+
env:
19+
- POSTGRESQL_URL=postgres://postgres@localhost:5432/test

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
> ⚠️ Master branch requires Crystal master to compile. See [installation instructions for Crystal](https://crystal-lang.org/docs/installation/from_source_repository.html).
2-
31
# Atom::Model
42

53
[![Built with Crystal](https://img.shields.io/badge/built%20with-crystal-000000.svg?style=flat-square)](https://crystal-lang.org/)

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 0.5.0
44
authors:
55
- Vlad Faust <mail@vladfaust.com>
66

7-
crystal: master
7+
crystal: 0.27.0
88

99
dependencies:
1010
time_format:

0 commit comments

Comments
 (0)