mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-08 14:47:28 +00:00
Improve travis.yml and run on more subsets of node.js versions
This commit is contained in:
26
.travis.yml
26
.travis.yml
@@ -1,12 +1,14 @@
|
||||
|
||||
{
|
||||
"language": "node_js",
|
||||
"node_js": "8",
|
||||
"services": [
|
||||
"mongodb"
|
||||
],
|
||||
"script": [
|
||||
"npm run build",
|
||||
"npm run test"
|
||||
]
|
||||
}
|
||||
sudo: false
|
||||
language: node_js
|
||||
node_js:
|
||||
- 8
|
||||
- 9
|
||||
- 10
|
||||
services:
|
||||
- mongodb
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
script:
|
||||
- npm run build
|
||||
- npm run test
|
||||
|
||||
Reference in New Issue
Block a user