Fix CircleCI order

This commit is contained in:
Rodrigo Nascimento 2017-11-07 15:29:32 -02:00
parent ed753130e1
commit a2b4e39a05
No known key found for this signature in database
GPG Key ID: CFCE33B7B01AC335
1 changed files with 11 additions and 7 deletions

View File

@ -68,13 +68,7 @@ jobs:
key: android-{{ checksum ".circleci/config.yml" }}-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }} key: android-{{ checksum ".circleci/config.yml" }}-{{ checksum "android/build.gradle" }}-{{ checksum "android/app/build.gradle" }}
- run: - run:
name: Install Android Depedencies name: Configure Gradle
command: |
cd android
./gradlew androidDependencies
- run:
name: Build Android App
command: | command: |
cd android cd android
@ -85,6 +79,16 @@ jobs:
echo -e "KEY_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties echo -e "KEY_PASSWORD=$KEYSTORE_PASSWORD" >> ./gradle.properties
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
- run:
name: Install Android Depedencies
command: |
cd android
./gradlew androidDependencies
- run:
name: Build Android App
command: |
cd android
./gradlew assembleRelease ./gradlew assembleRelease
mkdir -p /tmp/build mkdir -p /tmp/build