Travis-ci.com Log Viewer
travis-ci.com
should log in to view the build log. This is a simple nodejs service for viewing build log without login.
How to use
-
get
access_token
andrepository_id
using travis-ci api explorera. visit this url and get
access_token
-
https://developer.travis-ci.com/explore#explorer
curl -H "Travis-API-Version: 3" -H "User-Agent: API Explorer" \ -H "Authorization: token ___token_here___" \ https://api.travis-ci.com/ ...
b. change api endpoint and find
repository_id
for viewing build log-
/repos
... "repositories": [ { ... "id": ___repository_id_here___, ... } ] ...
-
-
copy and modify .env
$ cp .env.sample .env
// .env TOKEN=___access_token___ REPOID=___repository_id___
-
run
$ npm install $ npm start
-
open browser and open
localhost:8080
Heroku
You can run it free at heroku.com
.
- Create heroku app and add environment variables (in .env.sample) to heroku app using heroku dashboard
Settings
tab. - Fork this repository to your github.
- Set Deployment method to forked repository to you heroku app using heroku dashboard
Deploy
tab. - Click
Deploy branch
Have fun!
License
MIT License