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

RfC: test for .travis.yml Patch 1 buster #273

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
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
18 changes: 18 additions & 0 deletions .travis-buster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: ~> 1.0
language: shell

services:
- docker

before_install:
- docker pull node:current-buster

install:
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm install"

script:
#- docker run -w /home/travis -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run lint"
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run lint"
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run test"
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage"

18 changes: 18 additions & 0 deletions .travis-stretch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: ~> 1.0
language: shell

services:
- docker

before_install:
- docker pull node:current-stretch

install:
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm install"

script:
#- docker run -w /home/travis -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run lint"
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm run lint"
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm run test"
- docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage"

17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: ~> 1.0
language: node_js
node_js:
- 0.10
Expand All @@ -11,7 +12,23 @@ node_js:
- 13
- 13
- 14
jobs:
include:
- os: linux
dist: xenial
- os: linux
dist: focal
# local imports fetch the same git commit ref
import:
- .travis-buster.yml
#.travis-stretch.yml

script:
- npm run lint
- npm run test
- npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage

# local imports fetch the same git commit ref
#import:
#- one.yml
#- path/to/other.yml