Skip to content

Commit 35e1fa6

Browse files
committed
Fix cordova path.
1 parent f4e6cd1 commit 35e1fa6

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,5 @@ before_install:
104104
- if [[ "$CORDOVA_PLATFORM" == "android" ]]; then yes | sdkmanager "build-tools;26.0.0" "platforms;android-26" ; fi
105105

106106
script:
107-
- node -v
108-
- npm -v
109107
- bash ./test/test-default.sh $CORDOVA_VERSION $CORDOVA_PLATFORM $CORDOVA_PLATFORM_VERSION
110-
- node -v
111-
- npm -v
112108
- if [[ "$CORDOVA_PLATFORM" == "android" ]]; then bash ./test/test-with-3-plugins.sh $CORDOVA_VERSION $CORDOVA_PLATFORM $CORDOVA_PLATFORM_VERSION cordova-plugin-request-location-accuracy cordova-android-play-services-gradle-release cordova-android-firebase-gradle-release; fi

test/platform-add.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ FOLDER=".build-$PLATFORM"
1010
rm -rf $FOLDER
1111

1212
npm install -g "cordova@$CORDOVA_VERSION"
13-
./node_modules/.bin/cordova create $FOLDER com.github.cordova_plugin_firebase HelloWorld
13+
cordova create $FOLDER com.github.cordova_plugin_firebase HelloWorld
1414
cp ./test/google-services.json $FOLDER
1515

1616
cd $FOLDER
1717

18-
../node_modules/.bin/cordova platform add "$PLATFORM@$PLATFORM_VERSION"
18+
cordova platform add "$PLATFORM@$PLATFORM_VERSION"

test/platform-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ PLATFORM_VERSION=$3
99
FOLDER=".build-$PLATFORM"
1010
cd $FOLDER
1111

12-
../node_modules/.bin/cordova build $PLATFORM
12+
cordova build $PLATFORM

test/plugin-add.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ else
1919
fi
2020

2121
if [[ "$PLUGIN" == "cordova-android-play-services-gradle-release" ]]; then
22-
../node_modules/.bin/cordova plugin add $PLUGIN --variable PLAY_SERVICES_VERSION=+ $FETCH_COMMAND --save
22+
cordova plugin add $PLUGIN --variable PLAY_SERVICES_VERSION=+ $FETCH_COMMAND --save
2323
elif [[ "$PLUGIN" == "cordova-android-firebase-gradle-release" ]]; then
24-
../node_modules/.bin/cordova plugin add $PLUGIN --variable FIREBASE_VERSION=+ $FETCH_COMMAND --save
24+
cordova plugin add $PLUGIN --variable FIREBASE_VERSION=+ $FETCH_COMMAND --save
2525
else
26-
../node_modules/.bin/cordova plugin add $PLUGIN $FETCH_COMMAND
26+
cordova plugin add $PLUGIN $FETCH_COMMAND
2727
fi

0 commit comments

Comments
 (0)