Skip to content

Commit

Permalink
added encrypted creds to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
abarnhard committed Aug 28, 2014
1 parent ad7eb83 commit 73ac8c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ script:
- npm test
after_script:
- npm run coveralls

env:
global:
- DEBUG=1
- secure: "KcN8aM96b69Yur2cFvnp7T/LqUEPxkXO0bkkVfpBg170/ZkvnhC7qYlP+e6GemCr8Tm72DjC6TM+EAWc5nsNl2AuMzYwsESwz4USfwqVHS0CzHBmgs44c0JBLVyPf6uxlmrljyAFCwcGKKIRuzRev6zumf852Ej0T4V1zv7ONv8="
- secure: "MOf7Wbuxwbo0nxMcqO4DgYhPWguSMHmm63EzyGAKqsDnTwUf3+QX8D2YNm1TwWCRPcDnzIynlaiYBZZWDbJ0uxZPvD5XZyBruMKa/IEWtXnGLyrT1iaruXvdxUG/e3OaohzAN3hbVE5WXYkD1NY6KKwKpyRRdY6yM3yGKgFQoto="
- secure: "iwUkNTVGEquz0JlWn64/wWxZ0Mlb2C2nocOAz9VQUWaY3YOZ8X0Utq8nlHDOlne1jU+UTUpUS/4Tw9KakoR8hTCGS8edOFOfX3rtspBAPkIDLMvqdYANQhCXMsTJSKXXly9nQfTI2Om8TeqvY3SB4kcVPZaOHrigXp10Lexjauk="
12 changes: 0 additions & 12 deletions app/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,4 @@ function sendText(to, body, cb){

client.messages.create({to:to, from:from, body:body}, cb);
}
/*
function sendText(to, body, cb){
// Twilio Credentials
var accountSid = 'AC37089f8a962a6517ad612beb5fdab204',
authToken = require('../static/token/twilio-auth'),
//require the Twilio module and create a REST client
client = require('twilio')(accountSid, authToken.test);
if(to){
client.messages.create({to:to, from: '+13165411006', body: body}, cb);
}
}
*/

0 comments on commit 73ac8c5

Please sign in to comment.