-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
158 changed files
with
3,733 additions
and
3,690 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
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,78 +1,11 @@ | ||
language: node_js | ||
node_js: | ||
- "10.15.3" | ||
sudo: required | ||
cache: | ||
directories: | ||
- $HOME/.npm | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
- $HOME/.android/build-cache | ||
- 14 | ||
before_install: | ||
- cp env.example.json env.json | ||
install: | ||
- yarn install --frozen-lockfile --ignore-optional --network-concurrency 1 | ||
script: | ||
- npm i react-native-cli -g | ||
matrix: | ||
include: | ||
- language: android | ||
os: linux | ||
jdk: oraclejdk8 | ||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
sudo: required | ||
node_js: false | ||
before_install: | ||
- nvm install 10.15.3 | ||
- nvm use 10.15.3 | ||
- node --version | ||
# install NDK | ||
- openssl aes-256-cbc -K $encrypted_e28d423744bc_key -iv $encrypted_e28d423744bc_iv -in env.json.enc -out env.json -d | ||
- git clone https://github.com/Airbitz/android-ndk-linux.git $HOME/android-ndk-root | ||
- export ANDROID_NDK_HOME=$HOME/android-ndk-root | ||
- echo "y" | sdkmanager "cmake;3.6.4111459" | ||
- npm install -g [email protected] | ||
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
install: | ||
- travis_retry yarn install --network-concurrency 1 --child-concurrency 1 --ignore-optional | ||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-23.0.1 | ||
- build-tools-23.0.3 | ||
- build-tools-25.0.1 | ||
- build-tools-25.0.3 | ||
- android-23 | ||
- android-25 | ||
- android-27 | ||
- extra | ||
- extra-android-m2repository | ||
- extra-android-support | ||
- extra-google-google_play_services | ||
- extra-google-m2repository | ||
- addon-google_apis-google-16 | ||
- cmake | ||
licenses: | ||
- '.+' | ||
# before_script: | ||
# - npm run precommit | ||
script: | ||
- cd android && ./gradlew assembleDebug && ./gradlew assembleRelease | ||
- language: objective-c | ||
os: osx | ||
osx_image: xcode10.2 | ||
node_js: false | ||
before_install: | ||
- nvm install 10.15.3 | ||
- nvm use 10.15.3 | ||
- node --version | ||
- openssl aes-256-cbc -K $encrypted_e28d423744bc_key -iv $encrypted_e28d423744bc_iv -in env.json.enc -out env.json -d | ||
- npm install -g [email protected] | ||
install: | ||
- travis_retry gem install xcpretty xcpretty-travis-formatter | ||
- travis_retry yarn install --network-concurrency 1 --child-concurrency 1 | ||
|
||
xcode_project: ios/edge.xcworkspace | ||
xcode_scheme: ios/edge | ||
script: | ||
- cd ios | ||
- node ../execKeepAlive.js 'xcodebuild -workspace edge.xcworkspace -derivedDataPath build clean build -scheme edge -configuration release -sdk iphonesimulator12.2 CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=""' | xcpretty -f `xcpretty-travis-formatter` | ||
- yarn lint | ||
- yarn flow | ||
- npm run test |
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 |
---|---|---|
|
@@ -78,7 +78,7 @@ pipeline { | |
|
||
stage ("Test") { | ||
steps { | ||
sh "npm run cover" | ||
sh "JEST_JENKINS=1 yarn cover --ci" | ||
} | ||
} | ||
|
||
|
Binary file not shown.
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.