Skip to content

Commit

Permalink
chore: split out CI into unit tests + extra checks (#5749)
Browse files Browse the repository at this point in the history
* chore: split out CI into unit tests + extra checks


Co-authored-by: Mathias Bynens <mathias@qiwi.be>
  • Loading branch information
jackfranklin and mathiasbynens committed Apr 27, 2020
1 parent 3ed2f6b commit a7d2485
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .travis.yml
Expand Up @@ -3,8 +3,8 @@ services: xvfb

jobs:
include:

- os: "osx"
name: 'Unit tests: macOS/Chromium'
node_js: "10.19.0"
env:
- CHROMIUM=true
Expand All @@ -16,6 +16,7 @@ jobs:
- npm run unit

- os: "windows"
name: 'Unit tests: Windows/Chromium'
node_js: "10.19.0"
env:
- CHROMIUM=true
Expand All @@ -26,15 +27,31 @@ jobs:
- npm run tsc
- travis_retry npm run unit

# Runs unit tests on Linux + Chromium
- node_js: "10.19.0"
name: 'Unit tests: Linux/Chromium'
env:
- CHROMIUM=true
before_install:
- PUPPETEER_PRODUCT=firefox npm install
script:
- npm run test-install
- travis/chromium.sh
- npm run coverage

# This bot runs all the extra checks that aren't the main Puppeteer unit tests
- node_js: "10.19.0"
name: 'Extra tests: Linux/Chromium'
env:
- CHROMIUM=true
script:
- npm run test-install
- npm run lint
- npm run test-doclint
- npm run test-types

# Runs unit tests on Linux + Firefox
- node_js: "10.19.0"
name: 'Unit tests: Linux/Firefox'
env:
- FIREFOX=true
before_install:
Expand Down

0 comments on commit a7d2485

Please sign in to comment.