forked from kabergstrom/prefab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
62 lines (62 loc) · 1.86 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
language: rust
before_script:
- if [ $SKIP_FORMAT_CHECK = 0 ]; then rustup component add rustfmt; fi
- if [ $SKIP_CLIPPY = 0 ]; then rustup component add clippy; fi
script:
- cargo build --verbose --all
- if [ $SKIP_FORMAT_CHECK = 0 ]; then cargo fmt --all -- --check; fi
- if [ $SKIP_CLIPPY = 0 ]; then cargo clippy -- -D warnings; fi
install:
- if [ $TRAVIS_OS_NAME = windows ]; then choco install ninja; fi
- if [ $TRAVIS_OS_NAME = windows ]; then choco install python; fi
- if [ $TRAVIS_OS_NAME = windows ]; then export PATH="C:\Python37:$PATH"; fi
matrix:
include:
- name: "Windows MSVC 1.41.0"
rust: 1.41.0-msvc
os: windows
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "OSX 1.41.0"
rust: 1.41.0
os: osx
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Linux 1.41.0"
rust: 1.41.0
os: linux
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Windows MSVC Stable"
rust: stable-msvc
os: windows
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "OSX Stable"
rust: stable
os: osx
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Linux Stable"
rust: stable
os: linux
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Windows MSVC Beta"
rust: beta-msvc
os: windows
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "OSX Beta"
rust: beta
os: osx
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Linux Beta"
rust: beta
os: linux
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Windows MSVC Nightly"
rust: nightly-msvc
os: windows
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "OSX Nightly"
rust: nightly
os: osx
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1
- name: "Linux Nightly"
rust: nightly
os: linux
env: SKIP_FORMAT_CHECK=1 SKIP_CLIPPY=1