This repository has been archived by the owner on Aug 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
103 lines (98 loc) · 3.47 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
language: rust
sudo: false
rust: nightly
matrix:
fast_finish: true
include:
- name: "Tools"
install: true
script: sh ci/tools.sh
# cross targets:
- name: "aarch64-linux-android"
env: TARGET=aarch64-linux-android CROSS=1
- name: "aarch64-unknown-linux-gnu"
env: TARGET=aarch64-unknown-linux-gnu CROSS=1
- name: "arm-linux-androideabi"
env: TARGET=arm-linux-androideabi CROSS=1
- name: "arm-unknown-linux-gnueabi"
env: TARGET=arm-unknown-linux-gnueabi CROSS=1
- name: "arm-unknown-linux-musleabi"
env: TARGET=arm-unknown-linux-musleabi CROSS=1
- name: "armv7-linux-androideabi"
env: TARGET=armv7-linux-androideabi CROSS=1
- name: "armv7-unknown-linux-gnueabihf"
env: TARGET=armv7-unknown-linux-gnueabihf CROSS=1
- name: "armv7-unknown-linux-musleabihf"
env: TARGET=armv7-unknown-linux-musleabihf CROSS=1
- name: "i586-unknown-linux-gnu"
env: TARGET=i586-unknown-linux-gnu CROSS=1
addons: &gcc_multilib
apt:
packages:
- gcc-multilib
- name: "i586-unknown-linux-musl"
env: TARGET=i586-unknown-linux-musl CROSS=1
addons: &gcc_multilib
apt:
packages:
- gcc-multilib
- name: "i686-apple-darwin"
env: TARGET=i686-apple-darwin
os: osx
osx_image: xcode10
- name: "i686-linux-android"
env: TARGET=i686-linux-android CROSS=1
- name: "i686-pc-windows-gnu"
env: TARGET=i686-pc-windows-gnu CROSS=1
- name: "i686-unknown-freebsd"
env: TARGET=i686-unknown-freebsd NORUN=1 CROSS=1
- name: "i686-unknown-linux-gnu"
env: TARGET=i686-unknown-linux-gnu CROSS=1
addons: *gcc_multilib
- name: "i686-unknown-linux-musl"
env: TARGET=i686-unknown-linux-musl CROSS=1
- name: "mips-unknown-linux-gnu"
env: TARGET=mips-unknown-linux-gnu CROSS=1
- name: "mips64-unknown-linux-gnuabi64"
env: TARGET=mips64-unknown-linux-gnuabi64 CROSS=1
- name: "mips64el-unknown-linux-gnuabi64"
env: TARGET=mips64el-unknown-linux-gnuabi64 CROSS=1
- name: "mipsel-unknown-linux-gnu"
env: TARGET=mipsel-unknown-linux-gnu CROSS=1
- name: "powerpc-unknown-linux-gnu"
env: TARGET=powerpc-unknown-linux-gnu CROSS=1
- name: "powerpc64-unknown-linux-gnu"
env: TARGET=powerpc64-unknown-linux-gnu CROSS=1
- name: "powerpc64le-unknown-linux-gnu"
env: TARGET=powerpc64le-unknown-linux-gnu CROSS=1
- name: "s390x-unknown-linux-gnu"
env: TARGET=s390x-unknown-linux-gnu CROSS=1 NORUN=1
- name: "sparc64-unknown-linux-gnu"
env: TARGET=sparc64-unknown-linux-gnu CROSS=1 NORUN=1
- name: "x86_64-apple-darwin"
env: TARGET=x86_64-apple-darwin
os: osx
osx_image: xcode10
install: true
- name: "x86_64-linux-android"
env: TARGET=x86_64-linux-android CROSS=1
- name: "x86_64-sun-solaris"
env: TARGET=x86_64-sun-solaris NORUN=1 CROSS=1
- name: "x86_64-unknown-freebsd"
env: TARGET=x86_64-unknown-freebsd NORUN=1 CROSS=1
- name: "x86_64-unknown-linux-gnu"
env: TARGET=x86_64-unknown-linux-gnu
install: true
- name: "x86_64-unknown-linux-musl"
env: TARGET=x86_64-unknown-linux-musl CROSS=1
- name: "x86_64-unknown-netbsd"
env: TARGET=x86_64-unknown-netbsd NORUN=1 CROSS=1
install:
- travis_retry rustup target add $TARGET
- |
if [ "$CROSS" = "1" ]; then
cargo install cross
fi
script:
- cargo generate-lockfile
- sh ci/run.sh "${TARGET}"