You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/09/17 19:06:09 UTC
[cordova-lib] 01/01: Create azure-pipelines.yml
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch azure-pipelines
in repository https://gitbox.apache.org/repos/asf/cordova-lib.git
commit 226f5cfc011371cd0320bda5b914f0e7b35a11fb
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Mon Sep 17 21:05:59 2018 +0200
Create azure-pipelines.yml
---
azure-pipelines.yml | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
new file mode 100644
index 0000000..fd7d62c
--- /dev/null
+++ b/azure-pipelines.yml
@@ -0,0 +1,64 @@
+jobs:
+- job: Ubuntu
+ pool:
+ vmImage: 'Ubuntu 16.04'
+ strategy:
+ maxParallel: 3
+ matrix:
+ node_6_x:
+ node_version: 6.x
+ node_8_x:
+ node_version: 8.x
+ node_10_x:
+ node_version: 10.x
+
+ steps:
+ - task: NodeTool@0
+ inputs:
+ version: $(node_version)
+ displayName: 'Install Node.js $(node_version)'
+
+ - script: |
+ npm install
+ displayName: 'npm install'
+
+ - script: |
+ node --version
+ npm --version
+ displayName: 'Output node and npm version'
+
+ - script: |
+ npm run cover
+ displayName: 'npm run cover'
+
+- job: Windows
+ pool:
+ vmImage: 'vs2017-win2016'
+ strategy:
+ maxParallel: 3
+ matrix:
+ node_6_x:
+ node_version: 6.x
+ node_8_x:
+ node_version: 8.x
+ node_10_x:
+ node_version: 10.x
+
+ steps:
+ - task: NodeTool@0
+ inputs:
+ version: $(node_version)
+ displayName: 'Install Node.js $(node_version)'
+
+ - script: |
+ npm install
+ displayName: 'npm install'
+
+ - script: |
+ node --version
+ npm --version
+ displayName: 'Output node and npm version'
+
+ - script: |
+ npm test
+ displayName: 'npm test'
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org