Comments (15)
https://github.com/travis-ci/travis-rubies/blob/72bf25a562dbd0a05c0b4d4c44d4aab960e174ec/.travis.yml
language: c
script:
- unset JRUBY_OPTS
- ./build.sh
cache: ccache
matrix:
include:
- os: linux
sudo: required
dist: precise
group: edge
before_script: "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
- os: linux
before_script:
- 'echo -e "gem-wrappers\nrubygems-bundler\nbundler\nrake\nrvm\n" >> ~/.rvm/gemsets/global.gems'
- "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
- "sudo apt-get install haveged"
- "sudo service haveged start"
services: docker
- os: linux
dist: xenial
language: generic
before_script:
- 'echo -e "gem-wrappers\nrubygems-bundler\nbundler\nrake\nrvm\n" >> ~/.rvm/gemsets/global.gems'
- "gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
- "sudo apt-get install haveged"
- "sudo service haveged start"
- os: osx
before_install: sw_vers
osx_image: xcode6.4
- os: osx
before_install: sw_vers
osx_image: xcode7.2
- os: osx
before_install: sw_vers
osx_image: xcode8.1
after_failure: find $rvm_path/log/ -type f | xargs ls -t | head -n 1 | xargs cat
notifications:
email: false
from travis-yml.
Posting this to remind me where to start debugging. Looks like it's another missing error message key. Need to make this more robust.
https://sentry.io/travis-ci/travis-yml/issues/440886024/
from travis-yml.
It appears to not be recognising group: edge
, which is in the first matrix job:
- os: linux
sudo: required
dist: precise
group: edge
before_script: "gpg --ke...
When I remove that, parsing succeeds:
config.travis-ci.org
Parsed and validated config
[info] on matrix.include.sudo: casting value required (:str) to true (:bool)
[info] on matrix.include.language: generic is an alias for shell, using shell
[info] on matrix.include.dist: xenial is experimental and might be removed in the future
[info] on matrix.include.osx_image: :osx_image is experimental and might be removed in the future
{
"language": "c",
"os": [
"linux"
],
"dist": "trusty",
"sudo": false,
"script": [
"unset JRUBY_OPTS",
"./build.sh"
],
"cache": {
"ccache": true
},
"matrix": {
"include": [
{
"os": "linux",
"sudo": true,
"dist": "precise",
"before_script": [
"gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3"
]
},
{
"os": "linux",
"before_script": [
"echo -e \"gem-wrappers\\nrubygems-bundler\\nbundler\\nrake\\nrvm\\n\" >> ~/.rvm/gemsets/global.gems",
"gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3",
"sudo apt-get install haveged",
"sudo service haveged start"
],
"services": [
"docker"
]
},
{
"os": "linux",
"dist": "xenial",
"language": "shell",
"before_script": [
"echo -e \"gem-wrappers\\nrubygems-bundler\\nbundler\\nrake\\nrvm\\n\" >> ~/.rvm/gemsets/global.gems",
"gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3",
"sudo apt-get install haveged",
"sudo service haveged start"
]
},
{
"os": "osx",
"before_install": [
"sw_vers"
],
"osx_image": "xcode6.4"
},
{
"os": "osx",
"before_install": [
"sw_vers"
],
"osx_image": "xcode7.2"
},
{
"os": "osx",
"before_install": [
"sw_vers"
],
"osx_image": "xcode8.1"
}
]
},
"after_failure": [
"find $rvm_path/log/ -type f | xargs ls -t | head -n 1 | xargs cat"
],
"notifications": {
"email": {
"enabled": false
}
}
}
from travis-yml.
Wondering if group: edge
has been deprecated...?
https://docs.travis-ci.com/user/build-environment-updates/2016-12-01/#Details
from travis-yml.
Seems like edge
is in the spec.json:
"job":{
"type":"map","map":{
"group":{
"key":"group","types":[{
"name":"group","type":"fixed","defaults":[{
"value":"stable"}],
"downcase":true,"flagged":true,"values":[{
"value":"stable"},
{"value":"edge"}]}]}
from travis-yml.
So when I remove the include:
from
matrix:
include:
And include group: edge
within any of the jobs, the config parses.
from travis-yml.
Okay, so It seems group: edge
is also not working on the root level of the config.
@bogdanap pointed out an issue with config on the following builds:
https://travis-ci.org/travis-ci/worker/jobs/334524100/config
https://github.com/travis-ci/worker/blob/master/.travis.yml
https://travis-ci.org/travis-ci/packer-templates/jobs/333806822/config
https://github.com/travis-ci/packer-templates/blob/master/.travis.yml
Both these failed to parse until I removed group: edge
from the top level of the config.
from travis-yml.
When I run travis-yml
locally and use curl to send the config to the /parse
endpoint, I get:
parse error: Invalid numeric literal at line 1 column 5
This doesn't happen when I remove group: edge
from the config.
from travis-yml.
Unrecognized group
values should be dropped, no?
from travis-yml.
Is edge
and unrecognised group
value?
from travis-yml.
I believe that is what the worker is doing now. Maybe others can confirm.
from travis-yml.
in any case - I think I've fixed it: #20
from travis-yml.
The message suggests that to use group
you need a feature flag. Is this correct?
from travis-yml.
group
should be accepted without the feature. The feature allows the matrix expansion of it:
group:
- edge
- stable
from travis-yml.
okay so that means this message is wrong:
[info] on group: your repository must be feature flagged for :group to be used
I'll open a separate ticket for this.
from travis-yml.
Related Issues (20)
- WebLint tool HOT 4
- Slack notifications to different channels HOT 4
- Build is rejected HOT 1
- Use env vars in import ref HOT 2
- deep_merge_prepend is not working on our builds as of 24 Apr 2020
- Config Explorer fails to parse unevenly spaced YAML HOT 1
- Feature Request: Allow using multiple distributions for build matrix expansion
- Arabic text gets gobbled up
- Non-hash input should not raise errors
- Responsible disclosure policy
- ARM64 Architecture doesn't trigger the ARM64 worker environment
- ANN: Please migrate away from pytest-openfiles
- Deprecation message signature changed? HOT 1
- on_error for notifications is unknown despite being documented HOT 2
- travis-lint vs travis-yaml vs travis-yml HOT 2
- The :bool type coerces every string into a bool HOT 1
- [BUG] `secure:` values decryption seems broken HOT 3
- remove default values for `sudo` HOT 4
- Reintroduce validation of group HOT 1
- Travis deploy provider "script" should support sequences (gives weird error if you try) HOT 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-yml.