ng-ytl-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
41 lines (35 loc) • 701 B
YAML
sudo: required
dist: trusty
language: node_js
node_js:
- '6.10'
branches:
only:
- master
env:
- TASK=build
- TASK=test
- TASK=lint
- TASK=integration-cli
- TASK=integration-webpack
- TASK=integration-rollup
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- google-chrome-beta
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install -g @angular/cli
- npm install -g karma
script:
- npm run $TASK
- |
if [ "$TASK" = "test" ]; then
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
fi