Commit 855c984560

855c98456089164f2a839a925791e2a3e357188d

parent: 90108d7b84

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-07-12 16:16 UTC

travis: Enable new macOS build and separate the stages.

Layout: unified · split

.travis.yml +18 −5
@@ -2,15 +2,28 @@ language: rust
2rust: nightly 2rust: nightly
3 3
4jobs: 4jobs:
5 allow_failures:
6 - os: osx
7 name: macOS 10.15
8
5 include: 9 include:
6 - os: linux 10 - stage: Lint
7 dist: bionic 11 os: linux
12 before_script:
13 - rustup component add rustfmt
14 - rustup component add clippy
15 script:
16 - cargo fmt --all -- --check
17
18 - stage: Build
19 os: linux
20
21 - os: osx
8 22
9 - os: osx 23 - os: osx
24 name: macOS 10.15
25 osx_image: xcode12
10 26
11before_script:
12 - rustup component add rustfmt
13 27
14script: 28script:
15 - cargo build 29 - cargo build
16 - cargo fmt --all -- --check