1 Star 0 Fork 2

InkBottle / Prettier

forked from Gitee 极速下载 / Prettier 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 605 Bytes
一键复制 编辑 原始数据 按行查看 历史
Lucas Azzola 提交于 2017-07-26 19:41 . Set travis dist to "precise"
---
language: node_js
node_js:
- 4
- stable
dist: precise
cache:
yarn: true
directories:
- node_modules
env:
- NODE_ENV=development
- NODE_ENV=production
matrix:
allow_failures:
- env: NODE_ENV=production
fast_finish: true
install:
- yarn --production=false
before_script:
- if [ "${NODE_ENV}" = "production" ]; then yarn build; fi
script:
- yarn lint
- AST_COMPARE=1 yarn test -- --runInBand
- if [ "${NODE_ENV}" = "development" ]; then yarn codecov; fi
deploy:
provider: script
script: website/deploy.sh
skip_cleanup: true
on:
branch: master
node: stable
1
https://gitee.com/touchx/Prettier.git
git@gitee.com:touchx/Prettier.git
touchx
Prettier
Prettier
master

搜索帮助