Skip to content

Commit 7c8e7f2

Browse files
committed
.travis.yml: Update to newer travis config. Adds running tests
1 parent 747ae3d commit 7c8e7f2

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.travis.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
1-
language: node
1+
sudo: false
2+
dist: trusty
3+
language: node_js
24

35
cache: yarn
46

5-
install:
6-
- yarn
7+
matrix:
8+
include:
9+
- node_js: 8
10+
- node_js: node
11+
12+
before_install:
13+
- 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi'
14+
- nvm --version
15+
- node --version
16+
- npm --version
717

818
script:
919
- yarn lint
20+
- yarn test
1021

1122
notifications:
1223
email: false

0 commit comments

Comments
 (0)