Skip to content

Commit

Permalink
Fix travis and cluster installs.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandburns committed Sep 4, 2014
1 parent 512b0ab commit 3864cf4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go:

install:
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/coreos/etcd
- ./hack/install-etcd.sh
- ./hack/verify-gofmt.sh
- ./hack/verify-boilerplate.sh
- ./hack/install-std-race.sh
Expand All @@ -16,7 +16,7 @@ install:
script:
- ./hack/test-go.sh
- PATH=$HOME/gopath/bin:$PATH ./hack/test-cmd.sh
- PATH=$HOME/gopath/bin:$PATH ./hack/test-integration.sh
- PATH=$HOME/gopath/bin:$HOME/etcd/bin:$PATH ./hack/test-integration.sh

notifications:
irc: "chat.freenode.net#google-containers"
1 change: 1 addition & 0 deletions cluster/saltbase/salt/etcd/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ etcd-install:
cmd.wait:
- cwd: /var/src/etcd
- names:
- git checkout ab4bcc18694644d12f0c038339d8d039072502b1
- ./build
- env:
- PATH: {{ grains['path'] }}:/usr/local/bin
Expand Down
21 changes: 21 additions & 0 deletions hack/install-etcd.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

git clone https://github.com/coreos/etcd.git
cd etcd
git checkout ab4bcc18694644d12f0c038339d8d039072502b1
./build

0 comments on commit 3864cf4

Please sign in to comment.