Merge pull request #357 from embark-framework/appveyor

add appveyor
This commit is contained in:
Iuri Matias 2018-04-11 11:31:29 -04:00 committed by GitHub
commit 17b960e803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 4 deletions

View File

@ -2,8 +2,8 @@
[![npm](https://img.shields.io/npm/dm/embark.svg)](https://npmjs.com/package/embark) [![npm](https://img.shields.io/npm/dm/embark.svg)](https://npmjs.com/package/embark)
[![Gitter](https://img.shields.io/gitter/room/embark-framework/Lobby.svg)](https://gitter.im/embark-framework/Lobby) [![Gitter](https://img.shields.io/gitter/room/embark-framework/Lobby.svg)](https://gitter.im/embark-framework/Lobby)
[![Build [![Build Status](https://travis-ci.org/embark-framework/embark.svg?branch=develop)](https://travis-ci.org/embark-framework/embark)
Status](https://travis-ci.org/embark-framework/embark.svg?branch=develop)](https://travis-ci.org/embark-framework/embark) [![Build status](https://ci.appveyor.com/api/projects/status/nnq38x2hi3q11o44/branch/develop?svg=true)](https://ci.appveyor.com/project/iurimatias/embark/branch/develop)
What is Embark What is Embark
====== ======

26
appveyor.yml Normal file
View File

@ -0,0 +1,26 @@
# Test against the latest version of this Node.js version
environment:
nodejs_version: "8"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install -g npm@5.7
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- npm run lint
- npm run test
# tmp fix due to windows npm5 issue
- cd test_apps/test_app/extensions/embark-service && npm install
- npm run testdapp_1
- npm run testdapp_2
# Don't actually build.
build: off

View File

@ -5,8 +5,8 @@
"scripts": { "scripts": {
"lint": "./node_modules/.bin/eslint lib/", "lint": "./node_modules/.bin/eslint lib/",
"test": "mocha test/ --no-timeouts", "test": "mocha test/ --no-timeouts",
"testdapp_1": "cd test_apps/test_app/ && npm install && ../../bin/embark test", "testdapp_1": "cd test_apps/test_app/ && npm install && node ../../bin/embark test",
"testdapp_2": "cd test_apps/contracts_app/ && npm install && ../../bin/embark test", "testdapp_2": "cd test_apps/contracts_app/ && npm install && node ../../bin/embark test",
"fulltest": "npm run lint && npm run test && npm run testdapp_1 && npm run testdapp_2" "fulltest": "npm run lint && npm run test && npm run testdapp_1 && npm run testdapp_2"
}, },
"bin": { "bin": {