Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/872 Move all the JS code related to desktop app to "desktop" subfolder. The structure of "desktop" folder: - `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins". - `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process - `pkg` - Flipper packaging lib and CLI tool - `doctor` - Flipper diagnostics lib and CLI tool - `scripts` - Build scripts for Flipper desktop app - `headless` - Headless version of Flipper app - `headless-tests` - Integration tests running agains Flipper headless version Reviewed By: passy Differential Revision: D20249304 fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9
94 lines
2.3 KiB
YAML
94 lines
2.3 KiB
YAML
os: osx
|
|
osx_image: xcode10.2
|
|
|
|
matrix:
|
|
include:
|
|
- language: node_js
|
|
os: linux
|
|
node_js:
|
|
- "11"
|
|
|
|
install:
|
|
- cd website
|
|
- yarn
|
|
- cd ..
|
|
|
|
script:
|
|
- cd website
|
|
- yarn build
|
|
- cd ..
|
|
|
|
deploy:
|
|
- provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
fqdn: fbflipper.com
|
|
local-dir: website/build/flipper
|
|
keep-history: true
|
|
on:
|
|
branch: master
|
|
- language: node_js
|
|
os: linux
|
|
node_js:
|
|
- "11"
|
|
|
|
install:
|
|
- cd desktop
|
|
- yarn
|
|
|
|
script:
|
|
- yarn lint
|
|
- yarn test
|
|
- yarn build --linux --version=$TRAVIS_BUILD_NUMBER
|
|
|
|
- language: objective-c
|
|
cache:
|
|
cocoapods: true
|
|
directories:
|
|
- $HOME/Library/Caches/CocoaPods/Pods/Release/
|
|
|
|
|
|
before_install:
|
|
- gem install cocoapods
|
|
- pod --version
|
|
- rm -f iOS/Sample/Podfile.lock
|
|
- rm -f iOS/Sample/build.log
|
|
- rm -f iOS/SampleSwift/Podfile.lock
|
|
- pod repo update --silent
|
|
|
|
install:
|
|
- cd iOS/Sample
|
|
- rm -f Podfile.lock
|
|
- travis_wait 30 pod install --silent
|
|
- cd ../../
|
|
|
|
script:
|
|
- cd iOS/Sample
|
|
- IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$")
|
|
- travis_wait 30 xcodebuild build -workspace Sample.xcworkspace -scheme Sample -sdk $IPHONESIMULATOR -quiet > ./build.log
|
|
- tail -100 ./build.log
|
|
|
|
- language: objective-c
|
|
cache:
|
|
cocoapods: true
|
|
directories:
|
|
- $HOME/Library/Caches/CocoaPods/Pods/Release/
|
|
|
|
before_install:
|
|
- gem install cocoapods
|
|
- pod --version
|
|
- rm -f iOS/SampleSwift/Podfile.lock
|
|
- rm -f iOS/SampleSwift/build.log
|
|
- pod repo update --silent
|
|
|
|
install:
|
|
- cd iOS/SampleSwift
|
|
- rm -f Podfile.lock
|
|
- travis_wait 30 pod install --silent
|
|
- cd ../../
|
|
script:
|
|
- cd iOS/SampleSwift
|
|
- IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$")
|
|
- travis_wait xcodebuild build -workspace SampleSwift.xcworkspace -scheme SampleSwift -sdk $IPHONESIMULATOR -quiet > ./build.log
|
|
- tail -100 ./build.log
|