blob: fc31991935b46057f9167bc0a75dccca42da281c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
if [ $# -gt 0 ]
then
ETCD_VERSION="$1";
else
ETCD_VERSION="master";
fi
echo "Using ETCD version $ETCD_VERSION"
git clone https://github.com/coreos/etcd.git
cd etcd
git checkout $ETCD_VERSION
./build
${TRAVIS:?"This is not a Travis build. All Done"}
#Temporal solution to travis issue #155
sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
echo "All Done"
|