mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
1ec41e5d87
no issue - adds code coverage via ember-cli-code-coverage - add coverage and ember-cli-code-coverage deps
45 lines
649 B
YAML
45 lines
649 B
YAML
sudo: required
|
|
dist: trusty
|
|
|
|
language: node_js
|
|
node_js:
|
|
- "4"
|
|
|
|
env:
|
|
global:
|
|
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
|
|
|
|
branches:
|
|
except:
|
|
- /^greenkeeper-.+$/
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
addons:
|
|
firefox: "latest"
|
|
apt:
|
|
sources:
|
|
- google-chrome
|
|
packages:
|
|
- google-chrome-stable
|
|
|
|
before_install:
|
|
- npm config --global set spin false
|
|
- npm install -g npm@^2
|
|
|
|
install:
|
|
- npm install -g bower
|
|
- npm install
|
|
- bower install
|
|
|
|
before_script:
|
|
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
|
|
|
|
script:
|
|
- COVERAGE=true npm test
|
|
|
|
after_success:
|
|
- npm run coverage
|