forked from shackbarth/xtuple-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (27 loc) · 840 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
language: node_js
node_js:
- "0.8"
install:
- "cd .."
- "git clone git://github.com/xtuple/xtuple.git --recursive"
- "cd xtuple"
- "bash scripts/install_xtuple.sh -ipn"
- "cp test/lib/login_data.js ../xtuple-extensions/test/lib/login_data.js"
- "cd ../xtuple-extensions"
- "npm install"
- "npm run-script test-build"
- "mv sample/xtuple-ice-cream source"
- "mkdir -p test/xtuple-ice-cream/specs"
- "cp source/xtuple-ice-cream/test/* test/xtuple-ice-cream/specs"
- "../xtuple/scripts/build_app.js -e source/xtuple-ice-cream"
before_script:
- "cd ../xtuple/node-datasource"
- "node main.js &"
- "sleep 10"
- "cd .."
script:
- "npm test"
- "npm run-script test-datasource"
- "cd ../xtuple-extensions"
- "npm test"
- "../xtuple/node_modules/.bin/jshint --exclude source/bi_open/client/lib source"