fix: exclude android build artifacts (#2001) [skip ci]

* fix: exclude android build artifacts

* chore: build example app
This commit is contained in:
Laurin Quast 2018-12-17 09:56:27 +01:00 committed by GitHub
parent 75ee01a04d
commit 41ebb3eaaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,5 @@
/Example
issue_template.md
/RNCameraExample
/.github
/examples
circle.yml
commitlint.config.js
/android/build

View File

@ -6,7 +6,7 @@ jobs:
environment:
- GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
- REACT_NATIVE_MAX_WORKERS: 2
- ANDROID_BUILD_TOOLS_VERSION: "26.0.2"
- ANDROID_BUILD_TOOLS_VERSION: '26.0.2'
working_directory: ~/app
docker:
- image: entria/react-native-android:0.1.82
@ -27,6 +27,12 @@ jobs:
command: |
cd android
chmod +x ./gradlew && ./gradlew check
- run:
name: Build Sample App
command: |
cd examples/basic/android
yarn
chmod +x ./gradlew && ./gradlew build
- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then