1 Star 0 Fork 0

Clark_So/alfresco-ng2-components

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 4.62 KB
一键复制 编辑 原始数据 按行查看 历史
Eugenio Romano 提交于 2020-02-06 11:32 . Update .travis.yml
git:
depth: 3
quiet: true
language: node_js
dist: trusty
node_js:
- '12.13.1'
install:
echo "no install"
branches:
only:
- master
- development
- /.*old-env.*/
- /.*next-release.*/
- /.*beta.*/
- /.*greenkeeper.*/
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages:
- name: Lint & Build Dist
if: type = pull_request OR type = api
- name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank
- name: Check bundle
if: type = push AND tag IS blank
- name: Unit test
if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher
if: (type = push AND tag IS blank) OR type = api
- name: e2e Test
if: (type != cron AND tag IS blank) OR type = api
- name: Update Children Projects
if: branch = master AND type = push OR (tag =~ .*beta.*)
- name: Release beta tag
if: type = cron OR branch = master
- name: Trigger ADF child build
if: (branch = development AND type = push) OR type = api
addons:
chrome: stable
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
- export GIT_HASH=`git rev-parse HEAD`
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
jobs:
include:
# Run Only for any PR
- stage: Lint & Build Dist
name: Lint & Build Dist
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
# Run Only on Development and master
- stage: Lint & Build Dist & Release
name: Lint & Build Dist & Release
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
- ./scripts/travis/release/release-npm.sh
- stage: Unit test
name: Unit test content
script: ./scripts/travis/unit-test/content.sh
- stage: Unit test
name: Unit test core extension demo
script: ./scripts/travis/unit-test/core-extension-demo.sh
- stage: Unit test
name: Unit test process process-cloud insights
script: ./scripts/travis/unit-test/process.sh
- stage: Update Children Projects
script: ./scripts/travis/update/update-children.sh
- stage: Release beta tag
script: ./scripts/travis/release/git-tag.sh
- stage: e2e Test
name: core
script: ./scripts/travis/e2e/core-e2e.sh
- stage: e2e Test
name: content
script: ./scripts/travis/e2e/content-services-e2e.sh
- stage: e2e Test
name: search
script: ./scripts/travis/e2e/search-e2e.sh
- stage: e2e Test
name: process
script: ./scripts/travis/e2e/process-services-e2e.sh
- stage: e2e Test
name: process Cloud
script: ./scripts/travis/e2e/process-services-cloud-e2e.sh
- stage: Update Rancher
name: Update Rancher
script: ./scripts/travis/deploy/deploy.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/npm-check-bundles.sh -v ${ADF_VERSION}
- stage: Trigger ADF child build
name: Trigger ADF child build
script: ./scripts/travis/update/trigger-travis-children.sh --branch $TRAVIS_BRANCH Alfresco $TRAVIS_ACCESS_TOKEN
notifications:
slack:
on_pull_requests: false
rooms:
secure: "qcTP/+rhVweMSZZAQMPz4sW7boS8XC0RX1SPYgg7hIfxBr9747WpRLkJ1sirkVaXI/6XfYAyl42CTfPmTuJxIC+co/NSnEDknwVsnKZd0O/ykTpo+mxIN4BTZX8dm+gELR5IEYQPs+Yki3ZnD9b+0mCK1yD8JallKCQeE2U9BhzZhP/Fn0ce35EulybNp3QQDaox0XC+7gadMdxlvK8mzP1scw76wRLtx25QLxxV+OwEw0bzyh8y3onfjHfnoDcUQWRTNdnjapzmgf1LNdC202A5kwp5sJggfSDr+ActRqaMvv4BbMsFpdan34B6zPQJfyZL1r8IB8O8BEKcAaOUVcTjnZAOom8kHS8F07/mo5xnNYmV8oNX2/egr1CiG4U0EAGF2XGqM+vetYnF88LTEzy84kVxmSwKGVfzlGOyTplMXJ1iCENndtfWm1AXhAFj5RSsSAZg6IStTM+mcpnC75moEwQtj8bTenwehHz1HQAjQX7xeTQo27SxDc7oqp1ReyXCllMjKxckjVGmp2j6yxn1Jl55kivBj57vluLtEtziOGluVELP5E2fV0VAuErNhnjLm4LJARVN76PQaTOXYwATVVJJDhb/77TesvxQsr3VfiROEKm7QB7IDFjghjLLisSX67JQ5+7K/qMlqf9+9hNw4n0v1eMylVjt+gyxspc="
on_failure: always
on_success: change
template:
- "Repo `%{repository_slug}` *%{result}* build (<%{build_url}|#%{build_number}>) for commit (<%{compare_url}|%{commit}>) on branch `%{branch}`."
- "Author: %{author} Execution time: *%{duration}*"
- "Message: %{message}"
cache:
directories:
- node_modules
- demo-shell/dist
- tmp
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/clarkso/alfresco-ng2-components.git
git@gitee.com:clarkso/alfresco-ng2-components.git
clarkso
alfresco-ng2-components
alfresco-ng2-components
master

搜索帮助