Giter Club home page Giter Club logo

Comments (4)

murtaza-swati avatar murtaza-swati commented on June 20, 2024 4

You should run this command to set the --com as default.

travis endpoint --com --set-default. reference: https://github.com/travis-ci/travis.rb#endpoint
With this you won't require the to add --pro flag with every command.

And yes CLI responses would be improved in coming days.

from travis.rb.

murtaza-swati avatar murtaza-swati commented on June 20, 2024 1

For login you should also provide a Github Personal access tokens (classic or Fine-graind), you can create a token here https://github.com/settings/tokens. For more information about Github tokens please check the Github documentation.

After you have created a token please try the following command to login:
travis login --pro --github-token GITHUB_TOKEN

where --pro is short-cut for --api-endpoint 'https://api.travis-ci.com/ and --github-token is used for identification by GitHub token

from travis.rb.

eestec-ekrit avatar eestec-ekrit commented on June 20, 2024 1

It worked, but it also required the --pro flag for the encrypt-file command, otherwise I was still getting resource not found ({}).

Thank you for help. Are you planning on improving the CLI responses?

from travis.rb.

sungengyi avatar sungengyi commented on June 20, 2024

Hi @murtaza-swati , I encountered the same issue.
I have no trouble to login with my --pro token, but I want to generate a travis token for .org to run queries like "https://api.travis-ci.org/repos".

The document said these tokens are not
Tokens for open source projects, private projects and enterprise installations of Travis CI are not interchangeable.

So I'm stuck.

from travis.rb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.