forked from buildsample/sample-node-couchdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshippable.yml
More file actions
executable file
·38 lines (31 loc) · 1.43 KB
/
shippable.yml
File metadata and controls
executable file
·38 lines (31 loc) · 1.43 KB
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
# Language setting
language: node_js
# Version number
node_js:
- 0.10.31
- 0.11
# CouchDB binds to 127.0.0.1 by default
services:
- couchdb
# The path for Xunit to output test reports
env:
global:
- XUNIT_FILE=shippable/testresults/result.xml
- secure: eHd8W6oPZ5x+yYmIrvrPh8EdON1J6Sdf0JthhAqWtisKJirbNbnnBsC6d4RlKUVPU20g1g66EvtJfzLJbihB2ZUfTqsI09Q/L4eDh+l3Gp1mWfvaL9YaVDID7pkVsBPFPw8mQtMzBf2AZeeWwM5ydrGO0yngUmUqDcy3oKDZzyyMw2aJKXJk1Wr1M9TGpGf/Rgvt59KyKY7yf8QN8l+Zsnc/IS5Lz2FgD2l4XUNSxbkSdZ0wFw2kV/9KidR7CpgO+GanZHtZCrUQRCVF4SC4djV4X9X34T9uQSSgFm10lmn37KXIYJN4YI7LrsQMMb2V0dUPDgDiTIKfOzs8o1cxnQ==
#- secure: pHx5dR/qpqAnTJo5GCm7FUzD5YVvmB+y5YmcrGK09TQtBsi3d+p9dyf6V0DnsuJy8gIDS71YnDjbnycdqnKgGevjul4fQkWF+T52DvF49q5PbkDkqAbzo2HIr2VIOboutuhSy+FwlQb7aGjq9/AHTKlQSubFCjqvouB1uw7R9thsvUBnW/Ea+h39W4+0mzpLp9k6tmCAGkj/tGEMXgiZQvjX/3wvM45F3x5eGl+2bkxRELSr51NJAcBYC8+6k5svo6utNKQFhBE2HxFwpkJsJEh4oSOMf0GqWs0Vea7RRlA3lLJ116gQNKh7GuKLgxXN38w+GXPU8beIRZfHTpCHNw==
# Create directories for test and coverage reports
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
# Running the tests with grunt
script:
- grunt
- echo $COMPARE_URL
- echo $LAST_SUCCESSFUL_BUILD_TIMESTAMP
# Tell istanbul to generate a coverage report
after_script:
- echo $key
- ./node_modules/.bin/istanbul cover grunt -- -u tdd
- ./node_modules/.bin/istanbul report cobertura --dir shippable/codecoverage/
archive: true
#cache: true