Skip to content

Commit a3c302e

Browse files
committed
avoid permission issue via sh
1 parent ee281ed commit a3c302e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ env:
66
- CLANG_VERSION="3.4"
77
- CLANG_VERSION="3.5"
88
install:
9+
- sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-${CLANG_VERSION} main' >> /etc/apt/sources.list"
910
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
10-
- sudo echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-${CLANG_VERSION} main" >> /etc/apt/sources.list
1111
- sudo apt-get -qq update
1212
- sudo apt-get -qq --force-yes install clang-format-${CLANG_VERSION}
1313
- bundle install

0 commit comments

Comments
 (0)