Skip to content

Commit 804dfc6

Browse files
committed
Add use_devtools option for R language to schema
Fixes validation warnings like "unknown key use_devtools".
1 parent 5bf49ab commit 804dfc6

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

lib/travis/yml/schema/def/lang/r.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def define
3535
map :warnings_are_errors, to: :bool
3636
map :remotes, to: :str # this does not seem to be used in travis-build?
3737
map :repos, to: :map, strict: false
38+
map :use_devtools, to: :bool
3839
end
3940
end
4041
end

schema.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8077,6 +8077,14 @@
80778077
"r"
80788078
]
80798079
}
8080+
},
8081+
"use_devtools": {
8082+
"type": "boolean",
8083+
"only": {
8084+
"language": [
8085+
"r"
8086+
]
8087+
}
80808088
}
80818089
},
80828090
"summary": "R language support",
@@ -9178,6 +9186,14 @@
91789186
"r"
91799187
]
91809188
}
9189+
},
9190+
"use_devtools": {
9191+
"type": "object",
9192+
"only": {
9193+
"language": [
9194+
"r"
9195+
]
9196+
}
91819197
}
91829198
},
91839199
"normal": true

0 commit comments

Comments
 (0)