3 Star 0 Fork 0

宽宽 / crm-pro-fe

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 553 Bytes
Copy Edit Web IDE Raw Blame History
宽宽 authored 2017-12-07 18:22 . add
language: node_js
node_js:
- "8"
env:
matrix:
- TEST_TYPE=lint
- TEST_TYPE=test-all
- TEST_TYPE=test-dist
addons:
apt:
packages:
- xvfb
install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm install
script:
- |
if [ "$TEST_TYPE" = lint ]; then
npm run lint
elif [ "$TEST_TYPE" = test-all ]; then
npm run test:all
elif [ "$TEST_TYPE" = test-dist ]; then
npm run site
mv dist/* ./
php -S localhost:8000 &
npm test .e2e.js
fi

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/chenxq01/crm-pro-fe.git
git@gitee.com:chenxq01/crm-pro-fe.git
chenxq01
crm-pro-fe
crm-pro-fe
master

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542