update ci

This commit is contained in:
neargye 2019-03-12 18:55:45 +05:00
parent a04f813994
commit 9faad26eb1

View file

@ -1,6 +1,5 @@
os: linux os: linux
dist: trusty dist: xenial
sudo: required sudo: required
language: cpp language: cpp
@ -142,7 +141,7 @@ matrix:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0 - llvm-toolchain-xenial-5.0
packages: packages:
- clang-5.0 - clang-5.0
env: env:
@ -154,7 +153,7 @@ matrix:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0 - llvm-toolchain-xenial-6.0
packages: packages:
- clang-6.0 - clang-6.0
env: env:
@ -166,7 +165,7 @@ matrix:
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7 - llvm-toolchain-xenial-7
packages: packages:
- clang-7 - clang-7
env: env:
@ -212,7 +211,7 @@ install:
elif [[ "${CXX}" == "clang++-4.0" ]]; then LLVM_VERSION="4.0.1"; elif [[ "${CXX}" == "clang++-4.0" ]]; then LLVM_VERSION="4.0.1";
elif [[ "${CXX}" == "clang++-5.0" ]]; then LLVM_VERSION="5.0.2"; elif [[ "${CXX}" == "clang++-5.0" ]]; then LLVM_VERSION="5.0.2";
elif [[ "${CXX}" == "clang++-6.0" ]]; then LLVM_VERSION="6.0.1"; elif [[ "${CXX}" == "clang++-6.0" ]]; then LLVM_VERSION="6.0.1";
elif [[ "${CXX}" == "clang++-7" ]]; then LLVM_VERSION="7.0.0"; elif [[ "${CXX}" == "clang++-7" ]]; then LLVM_VERSION="7.0.1";
fi fi
LLVM_URL="http://llvm.org/releases/${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz" LLVM_URL="http://llvm.org/releases/${LLVM_VERSION}/llvm-${LLVM_VERSION}.src.tar.xz"
LIBCXX_URL="http://llvm.org/releases/${LLVM_VERSION}/libcxx-${LLVM_VERSION}.src.tar.xz" LIBCXX_URL="http://llvm.org/releases/${LLVM_VERSION}/libcxx-${LLVM_VERSION}.src.tar.xz"