Skip to content

Instantly share code, notes, and snippets.

@adstro
Last active October 11, 2017 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adstro/b70dee499eaafa59a1d522e0d6b9fa3f to your computer and use it in GitHub Desktop.
Save adstro/b70dee499eaafa59a1d522e0d6b9fa3f to your computer and use it in GitHub Desktop.
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