Summary: Travis builds for the website were failing. The problem was due to `yoga-layout` not compiling. However, we don't need to compile `yoga-layout` at all, because we are only using the asm.js version. This adds the `--ignore-scripts` flag to the `yarn` command, to ignore the post-install script which tries to compile yoga. Reviewed By: emilsjolander Differential Revision: D7097154 fbshipit-source-id: 3bf9efda0e2ae6166181dad66621cf6fc9586e88
33 lines
645 B
YAML
33 lines
645 B
YAML
# Copyright (c) 2014-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
language: node_js
|
|
node_js:
|
|
- "8"
|
|
|
|
install:
|
|
- cd website
|
|
- yarn --ignore-scripts
|
|
- cd ..
|
|
|
|
script:
|
|
- cd website
|
|
- yarn build
|
|
- cd ..
|
|
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
fqdn: yogalayout.com
|
|
local-dir: website/public
|
|
email: yogabot@fb.com
|
|
name: Yoga-bot
|
|
keep-history: true
|
|
on:
|
|
branch: master
|