1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
branches:
only:
- master
sudo: false
language: node_js
node_js:
- '8'
dist: trusty
cache:
directories:
- node_modules
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
matrix:
include:
- env: NAME="raven-js"
addons:
chrome: stable
firefox: latest
sauce_connect: true
script:
- npm run test && if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ]; then npm run test:ci; else exit 0; fi
- env: NAME="@sentry/core"
install: true
script:
- cd packages/core && yarn install && yarn test
- env: NAME="@sentry/browser"
install: true
script:
- yarn link
- cd packages/core && yarn link && yarn install && yarn dist
- cd ../browser
- yarn link "@sentry/core"
- yarn link "raven-js"
- yarn install && yarn test
|