1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/.travis.yml
Kevin Ansfield 2265ee25c8 switch from jshint/jscs to eslint
no issue
- drop `jshint`, `jscs`, and `ember-suave` dependencies
- remove `grunt` related linting dependencies and tasks
- remove linting build from Travis so that linting can be performed as part of the normal test suite (refs TryGhost/Ghost#7427)
- add `ember-cli-eslint` and `eslint-plugin-ember-suave` dependencies
- configure `eslint` to match our previous coding style
- update config to run eslint tests as part of the normal test run
- add `npm run lint` command to only run linter tests
2016-11-14 13:25:36 +00:00

42 lines
658 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:
- if [ "$TEST_SUITE" == "lint" ]; then npm run lint; else npm test; fi