forked from sequelize/sequelize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (50 loc) · 1.16 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
language: node_js
sudo: false
node_js:
- "4"
cache:
directories:
- node_modules
env:
global:
- CC=clang
- CXX=clang++
- npm_config_clang=1
- COVERALLS_REPO_TOKEN=751SiA6QhY5EH4P2ygq7JFWulqiD2ETXO
- COVERALLS_PARALLEL=true
matrix:
- DIALECT=mysql
- DIALECT=postgres
- DIALECT=postgres-native
- DIALECT=sqlite
- DIALECT=mssql
addons:
apt:
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
packages:
- clang-3.6
- g++-4.8
addons:
postgresql: "9.4"
before_script:
- "mysql -e 'create database sequelize_test;'"
- "psql -c 'create database sequelize_test;' -U postgres"
- "psql sequelize_test -c 'create extension postgis;' -U postgres"
script:
- "npm test"
matrix:
include:
- node_js: "6"
env: COVERAGE=true DIALECT=mysql
- node_js: "6"
env: COVERAGE=true DIALECT=postgres
- node_js: "6"
env: COVERAGE=true DIALECT=postgres-native
- node_js: "6"
env: COVERAGE=true DIALECT=sqlite
- node_js: "6"
env: COVERAGE=true DIALECT=mssql
notifications:
webhooks: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN