Skip to content

Commit

Permalink
using GH_TOKEN (like duo core) and using new token to hopefully fix C…
Browse files Browse the repository at this point in the history
…I tests)
  • Loading branch information
dominicbarnes committed Jul 6, 2015
1 parent 2310513 commit 35b8f31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "iojs"
- '0.10'
- '0.11'
- '0.12'
- iojs
script: make lint test
cache:
directories:
- node_modules
sudo: false
env:
global:
- secure: WdPVuaRFwTYKNFx7goA36QGwCPDATLT1PUL3XLilZX/AlfjgRICZn7/55WnSk7IJtkexYA4uuXlqIqefWMEACHW0gzwYrQES90wRonLUPYEbUUlfhXJFKWE1XCQRXDUDk1vX+XaIjsH52HcYGDbfauU8sRvrzOq1kPd5R2jWkRE=
secure: ZRRIvFc4yGEFUXj/6uu/0aLzKbk4qnkj2yLXBBkGANjT0eAlXgCOsbNVSswXX333NyXqUVOWl6dP1bL/veBN9o0Nou3CYwpbOz/LTFfdvifPA/80M5HhnkxWxQAjxiB4LNmqKDeIqZtHtAwxi0wlSKUwY4WNUy95uT+jyQbLZjk=
4 changes: 2 additions & 2 deletions test/gh-resolve.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

/**
* Module Dependencies
*/

var env = process.env;
var resolve = require('../');
var assert = require('assert');
var netrc = require('node-netrc');
var auth = netrc('api.github.com') || {};
var tok = env.GITHUB_PASSWORD || auth.password;
var tok = process.env.GH_TOKEN || auth.password;

/**
* Tests
Expand Down

0 comments on commit 35b8f31

Please sign in to comment.