Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

TravisCI is showing build cancelled #10

Open
Mayankm96 opened this issue Oct 4, 2017 · 0 comments
Open

TravisCI is showing build cancelled #10

Mayankm96 opened this issue Oct 4, 2017 · 0 comments

Comments

@Mayankm96
Copy link
Member

Mayankm96 commented Oct 4, 2017

It seems due to the direct cloning of the repository, even after a few changes the Travis CI is throwing an error, and is not working. Since I am a bit busy at the moment, I am opening this as an issue on GitHub for others to fix this.

As per the discussion on slack, here is what @ShikherVerma told me:
The build fails because the final deploy script has a $GH_TOKEN with secret environment variables.This environment variable is set on https://travis-ci.org/AUV-IITK/auv2017/settings under environment variables. You can see the settings page of travis/auv2016 for reference. The way to fix this is to get an OAuth token for your profile from here and give it the appropriate powers.

If interested read the articles here and here to learn how to add secret environment variables, store your OAuth token as ~GH_TOKEN` so that Travis can push the build docs to GitHub. Your encrypted OAuth token would look like this in the Travis file.

Kindly send in a pull request if this is fixed. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant