Skip to content

Commit

Permalink
increase broken test timeout and travis only on master
Browse files Browse the repository at this point in the history
  • Loading branch information
nomilous committed Apr 20, 2018
1 parent 56d84a7 commit 810d32f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: node_js

branches:
only:
- master

before_install:
- if [[ `node -v` == v0* ]]; then npm i -g npm@3; fi
- if [[ `node -v` != v0* && `npm -v` != 5* ]]; then npm i -g npm@5; fi
Expand Down
2 changes: 1 addition & 1 deletion test/c7_db_iterate.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('c7_ds_iterate', function () {
}

before('it creates 2 test dss', function (callback) {
this.timeout(4000);
this.timeout(8000);
getService(serviceConfig1, function (e, serviceInstance) {
if (e) return callback(e);
serviceInstance1 = serviceInstance;
Expand Down

0 comments on commit 810d32f

Please sign in to comment.