ci: try to fix appveyor tests

This commit is contained in:
Pooya Parsa 2018-01-13 09:03:59 +03:30
parent 29110694fb
commit f4fc8405a7
2 changed files with 11 additions and 11 deletions

View File

@ -22,7 +22,7 @@ test_script:
- npm --version - npm --version
- yarn --version - yarn --version
# run tests # run tests
- yarn run test - yarn test-appveyor
# Don't actually build. # Don't actually build.
build: off build: off

View File

@ -1,7 +1,8 @@
{ {
"name": "nuxt", "name": "nuxt",
"version": "1.1.0", "version": "1.1.0",
"description": "A minimalistic framework for server-rendered Vue.js applications (inspired by Next.js)", "description":
"A minimalistic framework for server-rendered Vue.js applications (inspired by Next.js)",
"contributors": [ "contributors": [
{ {
"name": "Sebastien Chopin (@Atinux)" "name": "Sebastien Chopin (@Atinux)"
@ -19,10 +20,7 @@
"type": "git", "type": "git",
"url": "git+https://github.com/nuxt/nuxt.js" "url": "git+https://github.com/nuxt/nuxt.js"
}, },
"files": [ "files": ["bin", "lib"],
"bin",
"lib"
],
"keywords": [ "keywords": [
"nuxt", "nuxt",
"nuxt.js", "nuxt.js",
@ -40,12 +38,13 @@
"nuxt": "./bin/nuxt" "nuxt": "./bin/nuxt"
}, },
"nyc": { "nyc": {
"include": [ "include": ["lib"]
"lib"
]
}, },
"scripts": { "scripts": {
"test": "npm run lint && nyc ava --verbose test/ -- && nyc report --reporter=html", "test":
"npm run lint && nyc ava --verbose test/ -- && nyc report --reporter=html",
"test-appveyor":
"npm run lint && nyc ava --serial test/ -- && nyc report --reporter=html",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "eslint --ext .js,.vue bin/* build/ lib/ test/ examples/", "lint": "eslint --ext .js,.vue bin/* build/ lib/ test/ examples/",
"precommit": "npm run lint", "precommit": "npm run lint",
@ -149,6 +148,7 @@
"collective": { "collective": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/nuxtjs", "url": "https://opencollective.com/nuxtjs",
"logo": "https://opencollective.com/nuxtjs/logo.txt?reverse=true&variant=variant2" "logo":
"https://opencollective.com/nuxtjs/logo.txt?reverse=true&variant=variant2"
} }
} }