From 0ad718543abde11e411e9e0d348c1acc8da82f30 Mon Sep 17 00:00:00 2001 From: Sander Verweij Date: Sat, 11 Jan 2020 19:45:04 +0100 Subject: [PATCH] chore(ci): simplify travis job (#241) --- .travis.yml | 11 ++++++----- README.md | 1 - 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e75ca5a7b..6a2cdcd62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 diff --git a/README.md b/README.md index 4b48c9213..8be826f86 100644 --- a/README.md +++ b/README.md @@ -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)