-
Notifications
You must be signed in to change notification settings - Fork 50
/
.travis.yml
30 lines (28 loc) · 1.15 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
__common: &common
language: rust
rust: 1.52.1
script: scripts/travis/run.bash
cache:
directories:
- target
- $HOME/ritual_temp_test_dir/test_full_run/workspace/target
matrix:
include:
- <<: *common
os: linux
dist: focal
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
# https://travis-ci.community/t/clang-10-was-recently-broken-on-linux-unmet-dependencies-for-clang-10-clang-tidy-10-valgrind/11527
before_install:
- sudo apt-get install -yq --allow-downgrades libc6=2.31-0ubuntu9.2 libc6-dev=2.31-0ubuntu9.2
- sudo -E apt-get -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages install libclang-10-dev -o Debug::pkgProblemResolver=yes
- <<: *common
os: osx
- <<: *common
os: windows
rust: 1.52.1-x86_64-pc-windows-msvc