代码拉取完成,页面将自动刷新
general:
branches:
ignore:
- gh-pages
machine:
node:
version: 6
environment:
TRAVIS_REPO_SLUG: zhiyicx/thinksns-plus
# YARN_VERSION: 0.21.3
# PATH: "${PATH}:${HOME}/.yarn/bin"
dependencies:
pre:
# This is equivalent to $TRAVIS_COMMIT_RANGE
# Need to figure out how to bail early if this is a "docs only" build
- echo $CIRCLE_COMPARE_URL | cut -d/ -f7
# install yarn if it's not already installed
# - |
# if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
# curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
# fi
override:
- npm install
- npm rebuild node-sass --force
- mv .env.example .env
# cache_directories:
# - ~/.yarn
test:
override:
- npm run production
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。