forked from overlookmotel/sequelize-hierarchy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
50 lines (42 loc) · 1.14 KB
/
.travis.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
before_script:
- "mysql -e 'create database sequelize_test;'"
- "psql -c 'create database sequelize_test;' -U postgres"
- "export SEQ_MYSQL_USER=root"
- "export SEQ_PG_USER=postgres"
- "export SEQ_PG_PW=postgres"
- 'if [ "$SEQ_VERSION" ]; then npm install sequelize@^$SEQ_VERSION.0.0; fi'
script:
- "make test"
env:
- DB=mysql DIALECT=mysql
- DB=mysql DIALECT=postgres
- DB=mysql DIALECT=postgres-native
- DB=mysql DIALECT=sqlite
- DB=mysql DIALECT=mariadb
- DB=mysql DIALECT=mssql
- DB=mysql DIALECT=mysql SEQ_VERSION=2
- DB=mysql DIALECT=postgres SEQ_VERSION=2
- DB=mysql DIALECT=postgres-native SEQ_VERSION=2
- DB=mysql DIALECT=sqlite SEQ_VERSION=2
- DB=mysql DIALECT=mariadb SEQ_VERSION=2
- DB=mysql DIALECT=mssql SEQ_VERSION=2
language: node_js
node_js:
- "0.10"
- "0.12"
branches:
only:
- master
- dev
matrix:
fast_finish: true
include:
- node_js: "0.10"
env: DB=mysql DIALECT=mysql COVERAGE=true
allow_failures:
- env: DB=mysql DIALECT=mysql COVERAGE=true
- env: DB=mysql DIALECT=mssql
- env: DB=mysql DIALECT=mssql SEQ_VERSION=2
addons:
postgresql: "9.3"
sudo: false