1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
case "$TRAVIS_CPU_ARCH" in
amd64 | s390x)
pkgs="gobjc-multilib"
;;
*)
pkgs="gobjc"
;;
esac
pkgs="$pkgs libsctp-dev"
if grep precise /etc/lsb-release >/dev/null; then
pkgs="$pkgs ipx"
fi
# We don't need any of them and they're often broken.
sudo rm -f /etc/apt/sources.list.d/*
|
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
case "$TRAVIS_CPU_ARCH" in
amd64 | s390x)
pkgs="gobjc-multilib"
;;
*)
pkgs="gobjc"
;;
esac
if grep precise /etc/lsb-release >/dev/null; then
pkgs="$pkgs ipx"
fi
# We don't need any of them and they're often broken.
sudo rm -f /etc/apt/sources.list.d/*
|