From d5fa04209aba6b8ae63d20d60595c7c250e7ff3a Mon Sep 17 00:00:00 2001 From: James Sumners Date: Tue, 27 Aug 2019 15:28:07 -0400 Subject: [PATCH] Update travis config (#537) * Update travis config * Coverage and caching * Update README with badges and correct issues link * Update .travis.yml Co-Authored-By: Tony Brix * Update .travis.yml Co-Authored-By: Tony Brix * Add windows * Remove Windows. Does not work on Travis * Use jobs style config * Tweak target vesions * Fix script * How about this? --- .travis.yml | 35 +++++++++++++++++++++++++++++++---- README.md | 8 +++----- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index e6c5885..4ef126d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,33 @@ +sudo: false + +git: + depth: 3 + +branches: + only: + - next + - master + language: node_js + node_js: - - "0.10" - - "0.12" - - "4" - - "stable" + - lts/* + - node + +os: + - linux + # - windows + +cache: + npm: true + +stages: + - test + +jobs: + include: + # - stage: lint ✨ + # script: npm run lint + + - stage: test 👩🏽‍💻 + script: npm run test:cov diff --git a/README.md b/README.md index 546bd83..5c36935 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # LDAPjs -[!['Build status'][travis_image_url]][travis_page_url] - -[travis_image_url]: https://api.travis-ci.org/joyent/node-ldapjs.svg -[travis_page_url]: https://travis-ci.org/joyent/node-ldapjs +[![Build Status](https://travis-ci.org/ldapjs/node-ldapjs.svg)](https://travis-ci.org/ldapjs/node-ldapjs) +[![Coverage Status](https://coveralls.io/repos/github/ldapjs/node-ldapjs/badge.svg?branch=ci-cleanup)](https://coveralls.io/github/ldapjs/node-ldapjs?branch=ci-cleanup) LDAPjs makes the LDAP protocol a first class citizen in Node.js. @@ -53,4 +51,4 @@ MIT. ## Bugs -See . +See .