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 2019/05/03 17:46:16 UTC

[cordova-test-platform] branch janpio-ci created (now 90adc24)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a change to branch janpio-ci
in repository https://gitbox.apache.org/repos/asf/cordova-test-platform.git.


      at 90adc24  CI config (via https://github.com/apache/cordova-cli)

This branch includes the following new commits:

     new 90adc24  CI config (via https://github.com/apache/cordova-cli)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[cordova-test-platform] 01/01: CI config (via https://github.com/apache/cordova-cli)

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-ci
in repository https://gitbox.apache.org/repos/asf/cordova-test-platform.git

commit 90adc24532c7ebac964b37060d7c0500badeaf62
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri May 3 19:46:04 2019 +0200

    CI config (via https://github.com/apache/cordova-cli)
---
 .travis.yml  | 20 ++++++++++++++++++++
 appveyor.yml | 25 +++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9d2673f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: node_js
+
+# Performance optimization
+git:
+  depth: 10
+cache:
+  directories:
+    - $HOME/.npm
+
+node_js:
+  - "6"
+  - "8"
+  - "10"
+  - "12"
+
+before_script:
+  # Ensure that bin script actually runs on used Node.js version
+  # to detect and avoid bugs such as apache/cordova-cli#339
+  # (<https://github.com/apache/cordova-cli/issues/339>)
+- ./bin/cordova --version
\ No newline at end of file
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..ad6fb42
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,25 @@
+# http://www.appveyor.com/docs/appveyor-yml
+
+# Performance optimization
+shallow_clone: true
+cache:
+  - '%APPDATA%\npm-cache'
+
+environment:
+  matrix:
+    - nodejs_version: "6"
+    - nodejs_version: "8"
+    - nodejs_version: "10"
+
+install:
+  - ps: Install-Product node $env:nodejs_version
+  - npm install
+
+build: off
+
+test_script:
+  # Workaround for https://github.com/appveyor/ci/issues/2420
+  - set "PATH=%PATH%;C:\Program Files\Git\mingw64\libexec\git-core"
+  - node --version
+  - npm --version
+- npm test
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org