2 Star 4 Fork 0

kfzly/dashboard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.81 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Travis continuous integration system configuration file.
#
# Overview on how to customize the configuration is located at:
# http://docs.travis-ci.com/user/customizing-the-build/
# Sudo-enabled Ubuntu Trusty environment. https://docs.travis-ci.com/user/trusty-ci-environment/
sudo: required
dist: trusty
# Use Node.js as primary language because Gulp is the build system used in the project.
language: node_js
# Cache downloaded Node.JS modules & Bower frontend dependencies for faster builds.
cache:
directories:
- node_modules
- bower_components
- .tools
addons:
# Run tests that require a browser on SauceLabs CI provider. Learn more at: https://saucelabs.com
sauce_connect: true
# Enables sauce labs for pull requests
jwt:
secure: NfCHCQULhYH0JUobRTBGF4QuQxMoj0Zs9iH71oSgI+eW7ClpNDp0cEF8h+IelTdPGQY7T9Kz4tyrZkUeXD5Mi/jjZT0YnjxSS8Ip6rRRxPDCWEmxbhOrZTEBXYfa4vqCY7rLnor8g579WOZ+RyoiotPC8tlc955nEgBk1jDxyAgXoUy0SdA/05r6A2IqKfs95u+yq0nsYqYJBj/3onx2SQv94eMQ7qq9GMhsAWMoNzLsBfU8AkZLsJ2w/W2p9tQURNk1hgCEewMwe6E6+G3XMAnDoIXBHkRAU335FBUE+f2kZ5Gl3GKE8pvWJaUWLePzfBvlmzCi4GW6lPlrRE5m+3wiiSzcbEAJnWOVPBrD/6mogYaJ5RijKzWk5o91eV8lU/lttp0hpH7PdWj1CEZk7EmyKO7ZF7ScALOZgs/dGyGgWcAvA0zwCDzdxXIitq9Eegc0xU+bB9jyJgi4dV9H1T1prwtS/TdhBU6sXKEjFVIgPUQa/TqBgaSs634kqRueH3bNfSD8Nf655AFeSgwdGiW0pBDm/WESftFWBMW3eV+KYtBFmGU/b3g+eEmd04j+lIOkK6EzU1QetUCKhpeMc5509So/+k4XghPHldWYzRldpY0kbp32VnAY8egsDdAHxgPrs2mTIDD1W//D/XJI9J072/z47GN4Af5zryz/3Nc=
matrix:
include:
# Job 1 - Local cluster + integration tests
- node_js: 7.7.3
env: BUILD_SUITE=cluster-test SAUCE_USERNAME=k8s-dashboard-ci
# Job 2 - Code tests (frontend + backend)
- node_js: 7.7.3
env: BUILD_SUITE=code-test SAUCE_USERNAME=k8s-dashboard-ci
before_script:
# Install go 1.7.1. It is not there by default.
- eval "$(gimme 1.7.1)"
- docker --version
script:
- 'if [ ${BUILD_SUITE} = "cluster-test" ]; then
./node_modules/.bin/gulp check:local-cluster --heapsterServerHost "http://localhost:8082";
else
./node_modules/.bin/gulp check:code-quality;
fi'
after_success:
- 'if [ ${BUILD_SUITE} = "cluster-test" ]; then
./node_modules/.bin/gulp ci-push-to-docker:head:cross;
else
./node_modules/.bin/gulp coverage-codecov-upload;
fi'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kfzly/kbdashboard.git
git@gitee.com:kfzly/kbdashboard.git
kfzly
kbdashboard
dashboard
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385