Skip to content

Instantly share code, notes, and snippets.

@eduardomoroni
Created May 29, 2018 11:07
Show Gist options
  • Save eduardomoroni/6f7bf0af7e0e1994d9f0d5bc7b83be67 to your computer and use it in GitHub Desktop.
Save eduardomoroni/6f7bf0af7e0e1994d9f0d5bc7b83be67 to your computer and use it in GitHub Desktop.
React Native Android Travis CI Config
os: linux
language: android
jdk: oraclejdk8
android:
components:
- build-tools-23.0.1
- android-23
before_install:
- yes | sdkmanager "platforms;android-23"
- yes | sdkmanager "build-tools;23.0.1"
- nvm install && nvm use
- npm install -g "npm@$(jq -r '.engines.npm' package.json)"
install:
- npm ci
script:
- "./android/gradlew assembleRelease -p android/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment