forked from tjanczuk/azure-sdk-tools-xplat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (28 loc) · 770 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
31
32
33
34
35
dist: trusty
sudo: required
language: node_js
node_js:
- "6.10.0"
matrix:
allow_failures:
install:
- npm install -g [email protected]
- npm --version
- npm install
# this is purely for debugging purposes. Do not delete, but enable when you need memory diagnostics.
# before_script:
# - echo "======== startup memory info ========"
# - free -h -t
# Deliberately splitting the test suite to keep memory pressure low on nodejs process.
# Combining these as a single job may lead to OOM exceptions.
script:
- npm -s run-script jshint
- npm -s run-script unit-arm
- npm -s run-script unit-arm-deployment
- npm -s run-script unit
after_script:
- echo "========== test log: ============"
- pwd
- ls -al
- ls -al test/output
- cat test/output/*.log