Skip to content

Commit ab5ff3c

Browse files
authored
Adding .travis.yml (#1405)
Addition to compile and run tests per PR.
1 parent 965ba12 commit ab5ff3c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: node_js
2+
3+
node_js:
4+
- "8"
5+
6+
addons:
7+
apt:
8+
sources:
9+
- ubuntu-toolchain-r-test
10+
- sourceline: 'deb https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
11+
key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
12+
13+
script:
14+
- cd Extension
15+
- npm install
16+
- npm run pretest
17+
- npm run test
18+
19+
after_failure:
20+
- ./.travis/printLogs.sh
21+
22+
after_success:
23+
- ./.travis/printLogs.sh
24+

0 commit comments

Comments
 (0)