diff --git a/README.md b/README.md index 6bb13b8a1..dec3eb079 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![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) -[![Build -Status](https://travis-ci.org/embark-framework/embark.svg?branch=develop)](https://travis-ci.org/embark-framework/embark) +[![Build 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 ====== diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..095924a09 --- /dev/null +++ b/appveyor.yml @@ -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 diff --git a/package.json b/package.json index 93ee26e5a..4f10fae6a 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "scripts": { "lint": "./node_modules/.bin/eslint lib/", "test": "mocha test/ --no-timeouts", - "testdapp_1": "cd test_apps/test_app/ && npm install && ../../bin/embark test", - "testdapp_2": "cd test_apps/contracts_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 && node ../../bin/embark test", "fulltest": "npm run lint && npm run test && npm run testdapp_1 && npm run testdapp_2" }, "bin": {