forked from mozilla/openbadges-backpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (19 loc) · 627 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: node_js
node_js:
- 0.8
- 0.10
env: DISABLE_PHANTOM_TESTS="see https://github.com/joyent/libuv/issues/826"
notifications:
irc:
- "irc.mozilla.org#badges"
email:
recipients:
before_script:
- cp lib/environments/local-dist.js lib/environments/local.js
- mysql -e 'create database openbadges;'
- mysql -e 'create database test_openbadges;'
- mysql -uroot -e "grant all on openbadges.* to 'badgemaker'@'localhost' identified by 'secret'"
- mysql -uroot -e "grant all on test_openbadges.* to 'badgemaker'@'localhost' identified by 'secret'"
script:
- npm test