-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
48 lines (48 loc) · 1.74 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
language: shell
cache: cargo
matrix:
include:
- os: linux
env:
- CHANNEL=stable
- TARGET=x86_64-unknown-linux-gnu
- os: osx
env:
- CHANNEL=stable
- TARGET=x86_64-apple-darwin
- os: osx
env:
- CHANNEL=stable
- TARGET=i686-apple-darwin
- os: linux
env:
- CHANNEL=1.20.0
- TARGET=x86_64-unknown-linux-gnu
- os: linux
env:
- CHANNEL=beta
- TARGET=x86_64-unknown-linux-gnu
- os: linux
env:
- CHANNEL=nightly
- TARGET=x86_64-unknown-linux-gnu
install:
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $CHANNEL --default-host $TARGET -y
- export PATH=$HOME/.cargo/bin:$PATH
script:
- cargo test --verbose --all
- cargo test --release --verbose --all
before_deploy:
- cargo doc --verbose --all --no-deps
deploy:
provider: pages
skip_cleanup: true
github_token:
secure: "RPaZy4sSi4nTP1Rhy0L+pTz4v5gtp7DNcLfcYfpW3IC8dWvaoiRnLz5CGL/+QZbB6T3ZIYZbuI5adpL/o2Iji1CVjk3tl09kdMixyimQxsfd50eWGLhh7C3eEDKMBwd7UcPdcEtxdCFYbO+Q0UrrUDHgVrUbF/FuvmW0kAMPgdr1Vdp7CCwHgrckSkMv9rtuHyvoecGRxDmJjRY9sjHzN8FEMg/yTxOHEGePqUSs/r/7YdQMULiyIa/o4PwiRQxPXDDPNP7f2lRAWWPU60yfTVlOkglilksRWq4e9+hC8EomOqnv1BaG6KSZverwHX1SjebSMHVfdx7Fdjo5nmPaNYKmJnPel6CscMdkVL2briI6gO0mECboNMXgrJME59snOqJCmwCsiNQ3dBGBOo6vI4SjOOV4GRP21CY5IrHNrdBVtAfLSRJb8yZu7V2mKCT7aNzSWKVAAwim7An29uPIZO6wFcRfe0WtERua3H5AjRcaglVXddpzakGwRu4NQ2/K267bEoGcx9T0n9bO8eC8bdc9p7MHDk9uzFim07D9e2hrK5C+aFjmQH+FO291sI2v3zIvUi1zHOSXe0PdwJtWYzQh/ykmGcg0BGtZoFJhToks7mjz3ofEnNNWKf2baHunLgC3CtxFi3qf4Qz14IY1UeuuBonLSjTZqfh0Fo7ZAO4="
local_dir: target/doc/
on:
branch: master
os: linux
env:
- CHANNEL=nightly
- TARGET=x86_64-unknown-linux-gnu