Skip to content

Commit cd7943b

Browse files
committed
i12e (CI): improve TravisCI build
Reduce the number of jobs
1 parent 527caed commit cd7943b

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,25 @@ cache:
66
- lib
77
jobs:
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:

0 commit comments

Comments
 (0)