Skip to content

Commit

Permalink
feat: 🎸 fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenboox committed Jul 3, 2019
1 parent 33167da commit 0541664
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ install:

jobs:
include:
- stage: build
node_js: lts/*
script: npm run build
- stage: release
node_js: lts/*
script: skip
script: npm run build
deploy:
provider: script
skip_cleanup: true
Expand Down
4 changes: 3 additions & 1 deletion dist/index.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ const request = ({ url, json, params, body, ...rest } = { method: 'GET', json: t
};
const post = (url, body, options = {}) => request({ url, body, ...options, ...{ method: HttpVerb.POST } });

const environment = Environment[(process.env.PAYU_ENVIRONMENT ? process.env.PAYU_ENVIRONMENT : 'sandbox').toUpperCase()];
const environment = Environment[(process.env.PAYU_ENVIRONMENT ? process.env.PAYU_ENVIRONMENT : 'sandbox').toUpperCase()];

console.log('test');

var authorize = async ({ clientId, clientSecret, grantType }) => {
try {
Expand Down
4 changes: 3 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ const request = ({ url: url$1, json, params, body, ...rest } = { method: 'GET',
};
const post = (url, body, options = {}) => request({ url, body, ...options, ...{ method: HttpVerb.POST } });

const environment = Environment[(process.env.PAYU_ENVIRONMENT ? process.env.PAYU_ENVIRONMENT : 'sandbox').toUpperCase()];
const environment = Environment[(process.env.PAYU_ENVIRONMENT ? process.env.PAYU_ENVIRONMENT : 'sandbox').toUpperCase()];

console.log('test');

var authorize = async ({ clientId, clientSecret, grantType }) => {
try {
Expand Down

0 comments on commit 0541664

Please sign in to comment.