Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trim CI down whilst we get it stable #5583

Merged
merged 1 commit into from Apr 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 0 additions & 15 deletions .appveyor.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .cirrus.yml

This file was deleted.

31 changes: 7 additions & 24 deletions .travis.yml
@@ -1,4 +1,5 @@
language: node_js
os: linux
dist: trusty
addons:
apt:
Expand All @@ -10,31 +11,13 @@ notifications:
cache:
directories:
- node_modules
# allow headful tests
before_install:
- "sysctl kernel.unprivileged_userns_clone=1"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- 'if [ "$FIREFOX" = "true" ]; then pyenv shell 3.6; pip3 install --user mozdownload; fi'
- 'if [ "$FIREFOX" = "true" ]; then rm -rf $FIREFOX_HOME; mozdownload -t daily -d $FIREFOX_HOME/latest.tar.bz --log-level DEBUG; fi'
- 'if [ "$FIREFOX" = "true" ]; then cd $FIREFOX_HOME; tar -xvf latest.tar.bz; cd -; ls $FIREFOX_HOME/firefox/firefox; fi'
script:
- 'if [ "$CHROMIUM" = "true" ]; then npm run lint; fi'
- 'if [ "$CHROMIUM" = "true" ]; then npm run coverage; fi'
- 'if [ "$FIREFOX" = "true" ]; then BINARY=$FIREFOX_HOME/firefox/firefox npm run funit; fi'
- 'if [ "$CHROMIUM" = "true" ]; then npm run test-doclint; fi'
- 'if [ "$CHROMIUM" = "true" ]; then npm run test-types; fi'
- 'if [ "$CHROMIUM" = "true" ]; then npm run bundle; fi'
- 'if [ "$CHROMIUM" = "true" ]; then npm run unit-bundle; fi'
jobs:
include:
- node_js: "12.16.1"
- node_js: "10.19.0"
dist: trusty
env:
- CHROMIUM=true
- node_js: "10.18.1"
env:
- CHROMIUM=true
- node_js: "10.18.1"
env:
- FIREFOX=true
- FIREFOX_HOME=$TRAVIS_HOME/firefox-latest
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: ./travis/chromium.sh
8 changes: 8 additions & 0 deletions travis/chromium.sh
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

npm run lint &&
npm run coverage &&
npm run test-doclint &&
npm run test-types &&
npm run bundle &&
npm run unit-bundle