forked from nodeGame/nodegame-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtravis.yml.node5.beta
34 lines (30 loc) · 1.04 KB
/
travis.yml.node5.beta
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
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "5.0"
before_install:
# Get installer script.
- cd bin
- wget https://github.com/nodeGame/nodegame/raw/master/bin/install-nodegame-for-module.sh
- chmod a+x install-nodegame-for-module.sh
- cd ..
install:
# Share node_modules with nodeGame.
# - mkdir -p nodegame node_modules
# - ln -s ../node_modules nodegame/node_modules
- bin/install-nodegame-for-module.sh -g "nodegame-window nodegame-widgets JSUS NDDB shelf.js nodegame-client descil-mturk nodegame-db nodegame-requirements nodegame-monitor nodegame-mongodb"
- npm install
- ln -s ../.. nodegame/node_modules/nodegame-server
# Patch express connect.
# - patch node_modules/express/node_modules/connect/lib/middleware/static.js < bin/ng.connect.static.js.patch
# Rebuild js files.
- node bin/make.js build-client -a -o nodegame-full
script:
# Add nodegame-server tests here.
# Test Ultimatum game.
- cd nodegame/games
- git clone https://github.com/nodeGame/ultimatum.git
- cd ultimatum
- ./bin/run-standalone-test.sh