Skip to content

Commit 4b8797a

Browse files
committed
Update CI to LLVM 11
1 parent 7bfd465 commit 4b8797a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ matrix:
55
include:
66
- os: osx
77
language: objective-c
8-
osx_image: xcode11.5
8+
osx_image: xcode12.2
99
before_install:
1010
- export PATH=/usr/local/opt/llvm/bin:"${PATH}"
1111
- brew update
12-
- brew install llvm@9
13-
- echo 'export PATH="/usr/local/opt/llvm@9/bin:$PATH"' >> /Users/travis/.bash_profile
12+
- brew install llvm@11
13+
- echo 'export PATH="/usr/local/opt/llvm@11/bin:$PATH"' >> /Users/travis/.bash_profile
1414
- source /Users/travis/.bash_profile
1515
- sudo swift utils/make-pkgconfig.swift
1616
script:
@@ -20,7 +20,7 @@ matrix:
2020
sudo: required
2121
dist: focal
2222
env:
23-
- LLVM_API_VERSION=9
23+
- LLVM_API_VERSION=11
2424
before_install:
2525
- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:"${PKG_CONFIG_PATH}"
2626
- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
@@ -34,7 +34,7 @@ matrix:
3434
- sudo rm -rf /usr/local/clang-*/bin/llvm-config
3535
- sudo rm -f /usr/bin/llvm-config
3636
- sudo ln -s /usr/bin/llvm-config-${LLVM_API_VERSION} /usr/bin/llvm-config
37-
- ls /usr/lib/llvm-9/include/llvm-c
37+
- ls /usr/lib/llvm-11/include/llvm-c
3838
- wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
3939
- wget https://swift.org/builds/swift-5.2.5-release/ubuntu1804/swift-5.2.5-RELEASE/swift-5.2.5-RELEASE-ubuntu18.04.tar.gz
4040
- tar xzf swift-5.2.5-RELEASE-ubuntu18.04.tar.gz

0 commit comments

Comments
 (0)