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

Travis ci upgrade #1

Merged
merged 6 commits into from
Jan 2, 2019
Merged
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
41 changes: 29 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,40 @@
# https://docs.travis-ci.com/user/customizing-the-build/
# https://docs.travis-ci.com/user/migrating-from-legacy/

dist: trusty
sudo: false
filter_secrets: false
language: node_js

matrix:
include:
- node_js: 6
- node_js: 8
- node_js: 10
node_js:
- 10
- 8
- 6

script:
os:
- linux
- osx
- windows

before_script:
- npm run lint
- npm run coverage

script:
- npm run coverage

after_success:
# send code-coverage data to Codacy
- cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .

# send code-coverage data to Coveralls
- cat ./coverage/lcov.info | node_modules/coveralls/bin/coveralls.js

jobs:
include:
- stage: Deploy
name: Publish to npm
script: true
after_success: true
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_API_KEY
skip_cleanup: true
on:
tags: true
branch: master
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ Swagger Methods
============================
#### HTTP methods that are supported by Swagger 2.0

[![Build Status](https://api.travis-ci.org/APIDevTools/swagger-methods.svg)](https://travis-ci.org/APIDevTools/swagger-methods)
[![Cross-Platform Compatibility](https://apidevtools.org/img/os-badges.svg)](https://travis-ci.com/APIDevTools/swagger-methods)

[![Build Status](https://api.travis-ci.com/APIDevTools/swagger-methods.svg)](https://travis-ci.com/APIDevTools/swagger-methods)

[![Coverage Status](https://coveralls.io/repos/github/APIDevTools/swagger-methods/badge.svg?branch=master)](https://coveralls.io/github/APIDevTools/swagger-methods?branch=master)
[![Dependencies](https://david-dm.org/APIDevTools/swagger-methods.svg)](https://david-dm.org/APIDevTools/swagger-methods)

Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
"use strict";

module.exports = [
'get', 'put', 'post', 'delete', 'options', 'head', 'patch'
"get", "put", "post", "delete", "options", "head", "patch"
];
Loading