Skip to content

Commit 833dc0f

Browse files
authored
Merge pull request #196 from anfernee/fix-test
Fix test.sh and enable test on OSX
2 parents 71e189d + 969451b commit 833dc0f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ os:
44
- linux
55
- osx
66

7-
matrix:
8-
# allow failures until OSX tests have been tested for a while
9-
allow_failures:
10-
- os: osx
11-
127
go:
138
- "1.10"
149

test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ function generate_crd_resources {
163163
' pkg/controller/bee/controller.go
164164

165165
header_text "adding a map type to resource"
166-
sed -i -e "s|type BeeSpec struct {|type BeeSpec struct {\n Request map[string]string \`json:\"request,omitempty\"\`|" pkg/apis/insect/v1beta1/bee_types.go
166+
sed -i -e '/type BeeSpec struct {/ a \
167+
Request map[string]string \`json:\"request,omitempty\"\`
168+
' pkg/apis/insect/v1beta1/bee_types.go
167169

168170
header_text "generating and testing CRD definition"
169171
kubebuilder create config --crds --output crd.yaml

0 commit comments

Comments
 (0)