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
Austin Burdine fd6f2551bb Bower => NPM (#972)
no issue

- Convert validator to an npm dependency
  - clean up validator imports
  - fix validator function imports
  - remove unused validator extensions
- Convert devicejs to an npm dependency
- Convert remaining used bower deps to npm deps
- 🔥 Remove bower & unused bower dependencies
- remove globals imports in favor of direct module imports where possible
2018-03-19 17:56:09 +00:00

44 lines
712 B
YAML

sudo: required
dist: trusty
language: node_js
node_js:
- "8"
env:
global:
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
- JOBS=1 # See https://git.io/vdao3 for details.
branches:
except:
- /^greenkeeper-.+$/
cache:
yarn: true
directories:
- $HOME/.npm
- $HOME/.cache # includes bower's cache
addons:
firefox: "latest"
chrome: "stable"
before_install:
# install latest yarn
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn
before_script:
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
script:
- npm run lint:js
- COVERAGE=true npm test
after_success:
- npm run coverage