Ghost/ghost/admin/.travis.yml
Kevin Ansfield 30d009ea84 Used ember-exam to split tests and run in parallel on Travis (#1112)
no issue
- improves test run times by splitting the tests into multiple groups and running each in their own browser instance
  - settled on 2 browser instances as that seems to best fit within Travis' memory and CPU constraints
- updated ember-cli-code-coverage config to work with parallel builds
2019-03-11 18:16:01 +00:00

44 lines
1.3 KiB
YAML

sudo: required
dist: trusty
language: node_js
node_js:
- "10"
env:
global:
- MOZ_HEADLESS=1
- JOBS=1 # See https://git.io/vdao3 for details.
branches:
except:
- /^renovate\//
cache:
yarn: true
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
script:
- npm run lint:js && COVERAGE=true npm run test
after_success:
- npm run coverage
notifications:
slack:
secure: yGQL+LNBHaiMcXwq/3rECHBugDygtBRoXp0gJG9ortG+5H3LboRFzX4OGgRZ2XkaAQlq8Jp6q73aCy91uAHmNdfPyAfQl9Dx3/4DxAh2664jYCbMOdGA8qntmucegx61P6uPLtgIg3f19qVjwCl7t29/8s8rWQk6tGdwXSfCSgTv4MbY+N1gKFNBqXN6zsH+Aqs8VFGHl1/o4qfHCDd8OPJTE+tUa30S7+Iz+Orumm6MogaOt/b4DW2ADF7SI7RM2wgoubjtzvH68BMjZ2bCFI2U7PQEPwbQ9ilmPHInxaa5j75NvvNnRqa06z7Te0rPK1sq9o6/VKpl4tReLs8O6lGGGTgO4wfAnQsZP9OmovONfv1o8Op2Taqv1YdJf1yjg8dumJ6ImwY0xBSq9rTw7F0EYp06vK3aIIOkLv4hsYaVfRzjqIBJyHY/v9ujpDPcUMRQnjKWdjRAMplS+JJkafLl79WN5m4yGs785SMMm81PYtiLL8F7618zVrtxI4K2jQSQF+STK2s8MiWbsGcU6pXh7R5hE8yzLhhBCRNLKAOXerSaehram8+TDYtY0IInsJFlTChhxGALyIU2GbnjvGTMtBtCdDy9ufaPKhCgP+ZoX/T1EEqV6neuCeiIBYVhmEukD8NsXh7eiyJmlBU73LyHTonYiDsEEuKUzu0Hyk8=
on_success: change
on_failure: always
on_pull_requests: false