Comments (7)
I think that travis gem inserted the secure env var in a wrong way. This is definitely a bug, so I'll leave this issue open, but meanwhile you can get around it by generating secure string without --add
option and adding it to the .travis.yml like this:
env:
global:
- secure: '............... secure string here ........................'
from travis.rb.
There's not necessarily anything wrong with the multiline version of the encrypted string, although I seem to remember there only being single newlines in the string, not double. If you look at the "single-line version" of the string you'll see \n
s in there.
Looks to me like the issue is that it's doing this:
env:
secure: ! '…'
instead of
env:
- secure: ! '…'
The latter should work. The former, probably not, since it expands to this:
env: "decrypted string"
from travis.rb.
Unfortunately, that did not help.
Seethis build, I've intentionally output all the environment variables, mine being "COVERALLS_REPO_TOKEN", and it's unavailable.
The .travis.yml
file is here.
from travis.rb.
@henrikhodne I didn't see your comment. I'll try it right now.
from travis.rb.
Failed. See https://travis-ci.org/xcambar/node-coveralls/builds/7867438
from travis.rb.
@xcambar I just thought of something. When you generate the encrypted variable, you do travis encrypt VAR=value
, right? What project does the origin
git remote point to (what URL does git remote show -n origin
output)? Since you're working on a fork, this may point to the original repository, depending on how things are set up. If it is pointing to a different repo, then that's why this is happening. The travis
gem uses the origin
remote by default to determine what repository you want to encrypt. Try travis encrypt VAR=value -r xcambar/node-coveralls
instead.
from travis.rb.
Congrats, you nailed it!
The build still fails, but now it's on me!
Thx for the help.
from travis.rb.
Related Issues (20)
- Add feature to print the expanded job matrix
- Could not download rvm-installer in travis ci HOT 4
- how can i move to my repo in travis in linux system?i will appreciate you if you tell me the command
- Login report! Help needed.
- 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
- Any cli command results in resource not found error HOT 4
- Problem with uploading secret files HOT 1
- Viewsource_sever
- Encrypting Files Failed
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.