forked from db-migrate/node-db-migrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
58 lines (48 loc) · 892 Bytes
/
.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
language: node_js
node_js:
- 0.10
- 0.12
- 4
- 5
- 6
- "iojs-1"
- "iojs-2"
- "iojs-3"
- "iojs"
notifications:
email:
recipients:
webhooks:
urls:
- https://webhooks.gitter.im/e/509c88551a18006fe93f
on_success: change
on_failure: always
on_start: false
os:
- linux
matrix:
fast_finish: true
allow_failures:
- node_js: 6
services:
- mongodb
sudo: false
cache:
npm: true
directories:
- node_modules
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
mariadb: "10.0"
before_install:
- export CXX=g++-4.8; export CC=gcc-4.8;
before_script:
- until nc -z localhost 27017 ; do echo Waiting for MongoDB; sleep 1; done
- mysql -e "create database db_migrate_test;"
- createdb db_migrate_test
- cp test/db.config.ci test/db.config.json