Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
build: using Node.js 10x also cleaning up the config
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Dec 19, 2019
1 parent 2642b32 commit 2fe3ffb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
sudo: required
dist: trusty
language: node_js

node_js:
- "10"
- 10

before_install:
- npm install -g npm@5
script:
- cd ./greeting-service
- npm install -d
- npm run ci
- cd ..
- cd cute-name-service
- npm install -d
- npm run ci
- cd ./greeting-service
- npm install --silent
- npm run ci
- cd ..
- cd cute-name-service
- npm install --silent
- npm run ci
branches:
only:
- master
Expand Down
1 change: 1 addition & 0 deletions greeting-service/lib/name-service-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function nameService (endpoint) {
if (response.status !== 200) {
return reject();
}

resolve(response.data);
})
.catch(reject);
Expand Down

0 comments on commit 2fe3ffb

Please sign in to comment.