Linux and Windows builds

Summary:
Adds windows and linux builds to Sandcastle

allow-large-files

Reviewed By: jknoxville

Differential Revision: D8379581

fbshipit-source-id: 94c80fc91c69f43b7dc0c7eb8b2ee5ace4daf888
This commit is contained in:
Daniel Büchele
2018-06-13 09:01:36 -07:00
committed by Facebook Github Bot
parent 32382b2999
commit 50490b9435
5 changed files with 23 additions and 30 deletions

View File

@@ -15,14 +15,11 @@ matrix:
script:
- yarn lint
- yarn build macOnly build-number=$TRAVIS_BUILD_NUMBER
- yarn build --mac --version=$TRAVIS_BUILD_NUMBER
- cd website
- yarn build
- cd ..
before_deploy:
- export SONAR_VERSION="v$(plutil -p $TRAVIS_BUILD_DIR/dist/mac/Sonar.app/Contents/Info.plist | awk '/CFBundleShortVersionString/ {print substr($3, 2, length($3)-2)}')"
deploy:
- provider: pages
skip-cleanup: true
@@ -32,17 +29,9 @@ matrix:
keep-history: true
on:
branch: master
- provider: releases
api_key: $GITHUB_TOKEN
file: dist/Sonar.zip
name: $SONAR_VERSION
draft: true
skip_cleanup: true
on:
branch: master
- language: objective-c
before_install:
- pod repo update
@@ -53,4 +42,4 @@ matrix:
script:
- cd iOS/Sample
- xcodebuild clean build -workspace Sample.xcworkspace -scheme Pods-Sample
- xcodebuild clean build -workspace Sample.xcworkspace -scheme Pods-Sample