mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
8586891a56
* use chrome to run tests * fix karma config lint * remove phantomjs
14 lines
489 B
YAML
14 lines
489 B
YAML
sudo: false
|
|
language: node_js
|
|
node_js: stable
|
|
before_install:
|
|
- export CHROME_BIN=chromium-browser
|
|
- export DISPLAY=:99.0
|
|
- sh -e /etc/init.d/xvfb start
|
|
- export TRAVIS_COMMIT_MSG="[deploy] $(git log --format='%h - %B' --no-merges -n 1)"
|
|
- export TRAVIS_COMMIT_USER="$(git log --no-merges -n 1 --format=%an)"
|
|
- export TRAVIS_COMMIT_EMAIL="$(git log --no-merges -n 1 --format=%ae)"
|
|
after_success:
|
|
- sh build/deploy-ci.sh
|
|
- cat ./test/unit/coverage/lcov.info | ./node_modules/.bin/coveralls
|