Comments (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.
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.
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.
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)
- node_js lts/* failing on Windows HOT 1
- travis-build compile undefined method 'jobs' for nil:NilClass error HOT 1
- `travis open --github` not respecting `travis endpoint --github`
- logging in via travis-ci.org failed. HOT 1
- Error install travis - minitest requires Ruby version < 4.0, >= 2.6. The current ruby version is 2.5.0 HOT 1
- Does this support Assembla or the other beta accounts?
- update go back to base version
- ArgumentError: tried to create Proc object without a block HOT 4
- `raw` command fails for no apparent reason HOT 1
- `raw` command fails for no apparent reason
- open
- Error: resource not found ({} ) when running travis command HOT 1
- Problem with uploading secret files HOT 1
- Viewsource_sever
- Encrypting Files Failed
- travis 1.12.0 build failure HOT 2
- Ruby 3.2.2 install failure (1.12.0, 1.13.0) HOT 4
- Travis
- command.rb:334:in `format': wrong number of arguments (given 5, expected 1..3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from travis.rb.