forked from douglas-treadwell/sequelize-cli-typescript
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (30 loc) · 716 Bytes
/
.travis.yml
File metadata and controls
35 lines (30 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo: false
dist: trusty
language: node_js
cache:
directories:
- node_modules
jobs:
include:
- stage: tests
node_js: 4
env: DIALECT=mysql SEQUELIZE=3.30.4
- stage: tests
node_js: 4
env: DIALECT=postgres SEQUELIZE=3.30.4
- stage: tests
node_js: 4
env: DIALECT=sqlite SEQUELIZE=3.30.4
- stage: tests
node_js: 6
env: DIALECT=postgres SEQUELIZE=latest
- stage: tests
node_js: 6
env: DIALECT=sqlite SEQUELIZE=latest
before_script:
- "mysql -e 'create database sequelize_test;'"
- "psql -c 'create database sequelize_test;' -U postgres"
- npm install sequelize@$(echo $SEQUELIZE)
- npm run build
script:
- npm run test