Last active
October 11, 2017 17:44
-
-
Save adstro/b70dee499eaafa59a1d522e0d6b9fa3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: openjdk:8 | |
environment: | |
JVM_OPTS: -Xmx3200m | |
steps: | |
# It would be nicer to set this in the global environment section. However, this can't be | |
# done until there is better environment variable support. | |
# See https://circleci.com/docs/2.0/env-vars/#interpolating-environment-variables-to-set-other-environment-variables | |
- run: | |
name: Hack to set ANDROID_HOME | |
command: echo "export ANDROID_HOME=$CIRCLE_WORKING_DIRECTORY/.ANDROID_HOME" >> $BASH_ENV | |
- checkout | |
- run: ./gradlew lint | |
- store_artifacts: | |
path: library/build/reports | |
destination: reports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment