-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a build matrix to support multiple version of React Native and…
… OSs (#345) * Multiple versions of React Native (latest and the version used internally at Wix) * Multiple versions of Xcode (currently 8.3.3 and 9, 8.3.3 will be dropped soon)
- Loading branch information
Showing
18 changed files
with
445 additions
and
105 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,67 @@ | ||
language: objective-c | ||
osx_image: xcode8.3 | ||
language: node_js | ||
node_js: 8 | ||
|
||
matrix: | ||
include: | ||
- language: objective-c | ||
os: osx | ||
osx_image: xcode8.3 | ||
env: | ||
- REACT_NATIVE_VERSION=0.44.2 | ||
install: | ||
- ./scripts/install.ios.sh | ||
script: | ||
- ./scripts/ci.ios.sh | ||
- language: objective-c | ||
os: osx | ||
osx_image: xcode8.3 | ||
env: | ||
- REACT_NATIVE_VERSION=0.49.3 | ||
install: | ||
- ./scripts/install.ios.sh | ||
script: | ||
- ./scripts/ci.ios.sh | ||
- language: objective-c | ||
os: osx | ||
osx_image: xcode9 | ||
env: | ||
- REACT_NATIVE_VERSION=0.44.2 | ||
install: | ||
- ./scripts/install.ios.sh | ||
script: | ||
- ./scripts/ci.ios.sh | ||
- language: objective-c | ||
os: osx | ||
osx_image: xcode9 | ||
env: | ||
- REACT_NATIVE_VERSION=0.49.3 | ||
install: | ||
- ./scripts/install.ios.sh | ||
script: | ||
- ./scripts/ci.ios.sh | ||
- language: android | ||
os: linux | ||
jdk: oraclejdk8 | ||
env: | ||
- REACT_NATIVE_VERSION=0.49.3 | ||
android: | ||
components: | ||
- build-tools-25.0.3 | ||
- android-25 | ||
- extra-android-m2repository | ||
- extra-google-google_play_services | ||
- extra-google-m2repository | ||
- sys-img-armeabi-v7a-android-26 | ||
install: | ||
- ./scripts/install.android.sh | ||
script: | ||
- ./scripts/ci.android.sh | ||
|
||
branches: | ||
only: | ||
- master | ||
env: | ||
global: | ||
- NODE_VERSION=stable | ||
install: | ||
- brew install yarn | ||
- export CODE_SIGNING_REQUIRED=NO | ||
- brew tap wix/brew | ||
- brew install applesimutils --HEAD | ||
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash | ||
- export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | ||
- nvm install $NODE_VERSION | ||
- nvm use $NODE_VERSION | ||
- npm install -g [email protected] >/dev/null 2>&1 | ||
- npm install -g react-native-cli >/dev/null 2>&1 | ||
- npm install -g detox-cli >/dev/null 2>&1 | ||
- gem install xcpretty >/dev/null 2>&1 | ||
script: | ||
- ./scripts/ci.sh | ||
before_install: | ||
- nvm install stable | ||
notifications: | ||
email: true | ||
slack: | ||
|
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--recursive | ||
--timeout 240000 | ||
--timeout 480000 | ||
--bail |
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
Oops, something went wrong.