Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
shakty committed Aug 31, 2016
1 parent 1ec2548 commit b25cf70
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
sudo: false
language: node_js
node_js:
- "0.12"
- "4.5"

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
- ln -s .. node_modules/nodegame-monitor
- bin/install-nodegame-for-module.sh -g "nodegame-window nodegame-widgets JSUS NDDB shelf.js nodegame-client nodegame-server descil-mturk nodegame-db nodegame-game-template nodegame-requirements nodegame-mongodb"
- npm install

script:
# Add specific tests here.

# Test Ultimatum game.
- cd nodegame/games
- git clone https://github.com/nodeGame/ultimatum.git
- cd ultimatum
- ./bin/run-standalone-test.sh
Empty file added bin/.gitkeep
Empty file.

0 comments on commit b25cf70

Please sign in to comment.