-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
103 lines (90 loc) · 2.26 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
matrix:
include:
- os: windows
language: rust
env:
- TOOLCHAIN=MinGW
rust:
- nightly
- os: windows
language: rust
rust:
- stable
before_script:
- choco install visualstudio2019community
- choco install visualstudio2019-workload-nativedesktop
- export VS160COMNTOOLS="/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools"
- rustup toolchain install stable-x86_64-pc-windows-msvc
- rustup default stable-msvc
- os: windows
language: rust
rust:
- nightly
before_script:
- choco install visualstudio2019community
- choco install visualstudio2019-workload-nativedesktop
- export VS160COMNTOOLS="/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools"
- rustup toolchain install nightly-x86_64-pc-windows-msvc
- rustup default nightly-msvc
- os: linux
dist: bionic
language: rust
rust:
- stable
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
env:
- CC=gcc-9
- CXX=g++-9
- os: linux
dist: bionic
language: rust
rust:
- nightly
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-10
- g++-10
env:
- CC=gcc-10
- CXX=g++-10
- os: linux
dist: bionic
arch: arm64
language: rust
rust:
- stable
- os: linux
dist: bionic
arch: arm64
language: rust
rust:
- nightly
- os: osx
osx_image: xcode12
language: rust
rust:
- stable
- os: osx
osx_image: xcode12
language: rust
rust:
- nightly
allow_failures:
env: TOOLCHAIN=MinGW
cache:
directories:
- $HOME/AppData/Local/Temp/chocolatey
script:
- cargo test --all
- cargo test --all --features 1mib
- cargo test --all --features build_cc
- cargo test --all --features debug
- cargo test --all --features cache-friendly