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/07 11:41:05 UTC
[cordova-plugin-splashscreen] 01/01: adapt travis.yml and more
structure
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-last_CI_cleanup
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-splashscreen.git
commit 7b5f8f656e6d70951cd6ad1641964e2cc26dc82f
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Tue May 7 13:40:58 2019 +0200
adapt travis.yml and more structure
---
.travis.yml | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 4284895..e43525b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,22 +71,18 @@ matrix:
<<: *_android
before_install:
- # `language: android` has no Node.js installed, therefore we need to install it manually
- - if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi
+ - if [[ "$PLATFORM" =~ android ]]; then nvm install $TRAVIS_NODE_VERSION; fi # manually install Node for `language: android`
- node --version
- - if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi
- - if [[ "$PLATFORM" =~ local ]]; then npm install -g ios-deploy; fi
- if [[ "$PLATFORM" =~ android ]]; then gradle --version; fi
-
- - npm install -g github:apache/cordova-paramedic
- - PARAMEDIC_BUILDNAME=travis-plugin-splashscreen-$TRAVIS_JOB_NUMBER
-
+ - if [[ "$PLATFORM" =~ ios ]]; then npm install -g ios-deploy; fi
- npm install -g cordova
-
+ - npm install -g github:apache/cordova-paramedic
install:
- npm install
+before_script:
+ - PARAMEDIC_BUILDNAME=travis-plugin-splashscreen-$TRAVIS_JOB_NUMBER
+
script:
-- npm test
-- if [[ "$PLATFORM" != local* ]]; then cordova-paramedic --config pr/$PLATFORM --plugin $(pwd) --buildName $PARAMEDIC_BUILDNAME --shouldUseSauce; fi
-- if [[ "$PLATFORM" =~ local ]]; then cordova-paramedic --config pr/$PLATFORM --plugin $(pwd) --buildName $PARAMEDIC_BUILDNAME; fi
+ - npm test
+ - cordova-paramedic --config ./pr/$PLATFORM --plugin $(pwd) --buildName $PARAMEDIC_BUILDNAME
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org