Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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