Created
May 29, 2018 12:22
-
-
Save eduardomoroni/e12f390cdfd06d5235a440e9808d08cb to your computer and use it in GitHub Desktop.
FINAL Como configurar TravisCI para um projeto React Native
This file contains hidden or 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
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