mirror of
https://github.com/josdejong/mathjs.git
synced 2026-02-01 16:07:46 +00:00
33 lines
643 B
YAML
33 lines
643 B
YAML
language: node_js
|
|
node_js:
|
|
- 8
|
|
- 10
|
|
- 12
|
|
|
|
script: npm run test:src
|
|
|
|
jobs:
|
|
include:
|
|
- stage: other
|
|
script: npm run lint
|
|
node_js: lts/*
|
|
name: Lint
|
|
- script: npm run test:browser
|
|
node_js: lts/*
|
|
name: Local Browser Test
|
|
- script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run test:browserstack; else true; fi'
|
|
node_js: lts/*
|
|
name: Browserstack Test
|
|
- script: npm run build-and-test
|
|
node_js: lts/*
|
|
name: Build Test
|
|
- script: npm run coverage && npx codecov
|
|
node_js: lts/*
|
|
name: Coverage
|
|
git:
|
|
depth: 5
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|