File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - lib
77jobs :
88 include :
9- - stage : Install shards
10- script : shards install
11- - stage : Run tests
12- - name : Run Crystal specs
9+ - stage : Tests
10+ name : Crystal spec
1311 script :
1412 - crystal spec
15- - name : Run PostgreSQL specs
13+ - name : PostgreSQL spec
1614 env :
1715 - POSTGRESQL_URL=postgres://postgres@localhost:5432/test
1816 before_script :
1917 - psql -c 'create database test;' -U postgres
2018 - psql $POSTGRESQL_URL < db_spec/pg/migration.sql
2119 script :
22- - shards install
2320 - env POSTGRESQL_URL=$POSTGRESQL_URL crystal spec db_spec/pg
24- - name : Run SQLite3 specs
21+ - name : SQLite3 spec
2522 env : $SQLITE3_URL=sqlite3://./test.sqlite3
2623 before_script :
2724 - sqlite3 ./test.sqlite3 < db_spec/sqlite3/migration.sql
2825 script :
2926 - env SQLITE3_URL=$SQLITE3_URL crystal spec db_spec/sqlite3
30- - stage : Deploy
27+ - stage : Deployment
3128 script :
3229 - crystal docs
3330 deploy :
You can’t perform that action at this time.
0 commit comments