Skip to content

Commit

Permalink
chore(ci): simplify travis job (sverweij#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij authored Jan 11, 2020
1 parent 57ead8d commit 0ad7185
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ sudo: required
language: node_js

node_js:
- "12"
- "13"
- stable

before_install:
- wget https://github.com/sharkdp/hyperfine/releases/download/v1.5.0/hyperfine_1.5.0_amd64.deb
Expand All @@ -21,9 +20,11 @@ before_script:
# yarn pnp integration test disabled for node 13 because of https://github.com/yarnpkg/yarn/issues/7642
script:
- npm run depcruise
- "npm run test:glob && npm run test:cover"
- "if test `node --version | cut -c 2,3` = 13; then npm run lint && npm run test:load:short; fi"
- "if test `node --version | cut -c 2,3` = 12; then npm run test:integration; fi"
- npm run test:glob
- npm run test:cover
- npm run lint
- npm run test:load:short
- npm run test:integration

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ You've come to the right place :-) :

## Build status
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sverweij/dependency-cruiser/linting%20%26%20test%20coverage%20-%20linux?label=actions&logo=github)](https://github.com/sverweij/dependency-cruiser/actions)
[![Build status](https://ci.appveyor.com/api/projects/status/u18tbeujml0knk08/branch/master?svg=true)](https://ci.appveyor.com/project/sverweij/dependency-cruiser/branch/master)
[![Build Status](https://travis-ci.org/sverweij/dependency-cruiser.svg?branch=master)](https://travis-ci.org/sverweij/dependency-cruiser)
[![coverage](https://gitlab.com/sverweij/dependency-cruiser/badges/master/coverage.svg)](https://gitlab.com/sverweij/dependency-cruiser/builds)
[![Maintainability](https://api.codeclimate.com/v1/badges/93035ef5fba33901d479/maintainability)](https://codeclimate.com/github/sverweij/dependency-cruiser/maintainability)
Expand Down

0 comments on commit 0ad7185

Please sign in to comment.