Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Travis] Travis won't build issue #1633

Closed
liuxuan30 opened this issue Oct 10, 2016 · 3 comments
Closed

[Travis] Travis won't build issue #1633

liuxuan30 opened this issue Oct 10, 2016 · 3 comments
Assignees

Comments

@liuxuan30
Copy link
Member

liuxuan30 commented Oct 10, 2016

Seeing below log in Travis CI for a couple of weeks,
https://travis-ci.org/danielgindi/Charts/builds/165976532
Project:https://github.com/danielgindi/Charts
I filed this here realm/realm-swift#4199 (comment)
and they told to set up a token for travis: travis-ci/travis-ci#4195

First you need an access token from GitHub. You can check how to do that here.
Once you have an access token all you need is travis encrypt GITHUB_ACCESS_TOKEN=YOUR_ACCESS_TOKEN --add env.global. To add an encrypted env variable to your .travis.yml.

Since it's kind of 'personal access token', @danielgindi I guess you have to create it to solve?

@danielgindi
Copy link
Collaborator

Actually travis is logged in to out repo...

@danielgindi
Copy link
Collaborator

And it syncs correctly. Something in the script that runs the tests fails now. As the tests themselves do succeed in Xcode, I suspect it is some kind of version mismatch? @petester42

@pmairoldi
Copy link
Collaborator

I added my own ci token to Travis to fix the download issues. I'll check it out later.

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

No branches or pull requests

3 participants