forked from rust-lang/hashbrown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (72 loc) · 2.34 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
language: rust
rust: nightly
matrix:
fast_finish: true
include:
- name: "miri"
env: TARGET=x86_64-unknown-linux-gnu
script: sh ci/miri.sh
- name: "rustfmt/clippy"
env: TARGET=i586-unknown-linux-gnu
script: sh ci/tools.sh
- name: "docs"
env: TARGET=x86_64-unknown-linux-gnu
script:
- cargo -vv doc --features nightly,serde,rayon,raw
- echo '<meta http-equiv=refresh content=0;url=hashbrown/index.html>' > target/doc/index.html
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: target/doc
keep-history: false
on:
branch: master
# Tier 1 targets:
- name: "x86_64-unknown-linux-gnu"
env: TARGET=x86_64-unknown-linux-gnu
- name: "x86_64-unknown-linux-gnu (beta)"
rust: beta
env: TARGET=x86_64-unknown-linux-gnu
- name: "x86_64-unknown-linux-gnu (stable)"
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
- name: "x86_64-unknown-linux-gnu (Rust 1.32.0)"
rust: 1.32.0
env: TARGET=x86_64-unknown-linux-gnu
- name: "i686-unknown-linux-gnu"
env: TARGET=i686-unknown-linux-gnu CROSS=1
- name: "x86_64-apple-darwin"
env: TARGET=x86_64-apple-darwin
os: osx
osx_image: xcode10
- name: "x86_64-pc-windows-msvc"
env: TARGET=x86_64-pc-windows-msvc
os: windows
- name: "x86_64-pc-windows-gnu"
env: TARGET=x86_64-pc-windows-gnu CROSS=1
# This target is not supported by cross
#- name: "i686-pc-windows-gnu"
# env: TARGET=i686-pc-windows-gnu CROSS=1
# Tier 2/3 targets:
- name: "i586-unknown-linux-gnu (no SSE2)"
env: TARGET=i586-unknown-linux-gnu CROSS=1
- name: "armv7-unknown-linux-gnueabihf"
env: TARGET=armv7-unknown-linux-gnueabihf CROSS=1
- name: "aarch64-unknown-linux-gnu"
env: TARGET=aarch64-unknown-linux-gnu CROSS=1
# Ensure that we successfully build without libstd
- name: "thumbv6m-none-eabi"
env: TARGET=thumbv6m-none-eabi NO_STD=1
script:
# cross doesn't seem to work with thumb targets...
- rustup target install $TARGET
- sh ci/run.sh
install: travis_retry rustup target add "${TARGET}"
script: sh ci/run.sh
branches:
# Don't build these branches
except:
# Used by bors
- trying.tmp
- staging.tmp