Skip to content

Instantly share code, notes, and snippets.

@eduardomoroni
Created May 29, 2018 12:22
Show Gist options
  • Save eduardomoroni/e12f390cdfd06d5235a440e9808d08cb to your computer and use it in GitHub Desktop.
Save eduardomoroni/e12f390cdfd06d5235a440e9808d08cb to your computer and use it in GitHub Desktop.
FINAL Como configurar TravisCI para um projeto React Native
install:
- nvm install && nvm use
- npm install -g "npm@$(jq -r '.engines.npm' package.json)"
- npm ci
matrix:
include:
- 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"
script:
- "./android/gradlew assembleRelease -p android/"
- os: osx
osx_image: xcode9.3
before_install:
- brew install jq
- bundle install
script:
- bundle exec fastlane ios test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment