-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy path.travis.yml
61 lines (53 loc) · 1.56 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
51
52
53
54
55
56
57
58
59
60
61
language: node_js
node_js:
- "10"
- "8"
branches:
except:
- /^v\d+\./
script:
- "npm run ci"
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'
- 'if [ "$SEQ_VERSION" = "2" ]; then npm install mysql@2 pg@4 pg-native@1; fi'
- 'if [ "$SEQ_VERSION" = "3" ]; then npm install mysql@2 pg@4 pg-native@1; fi'
env:
global:
- CXX=g++-4.8
matrix:
- DB=mysql DIALECT=mysql
- DB=mysql DIALECT=postgres
- DB=mysql DIALECT=postgres-native
- DB=mysql DIALECT=sqlite
- DB=mysql DIALECT=mysql SEQ_VERSION=4
- DB=mysql DIALECT=postgres SEQ_VERSION=4
- DB=mysql DIALECT=postgres-native SEQ_VERSION=4
- DB=mysql DIALECT=sqlite SEQ_VERSION=4
- DB=mysql DIALECT=mysql SEQ_VERSION=3
- DB=mysql DIALECT=postgres SEQ_VERSION=3
- DB=mysql DIALECT=postgres-native SEQ_VERSION=3
- DB=mysql DIALECT=sqlite SEQ_VERSION=3
- 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
matrix:
fast_finish: true
include:
- node_js: "10"
env: DB=mysql DIALECT=mysql COVERAGE=true
allow_failures:
- env: DB=mysql DIALECT=mysql COVERAGE=true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
postgresql: "9.3"
sudo: false