enable multiple rust versions in circleci
This commit is contained in:
commit
33c1431a6e
1 changed files with 51 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
latest:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/rust:latest
|
- image: circleci/rust:latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -8,6 +8,55 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: build and test
|
name: build and test
|
||||||
command: cargo build && cargo test
|
command: cargo build && cargo test
|
||||||
|
threefour:
|
||||||
|
docker:
|
||||||
|
- image: circleci/rust:1.34.0
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: build and test
|
||||||
|
command: cargo build && cargo test
|
||||||
|
threethree:
|
||||||
|
docker:
|
||||||
|
- image: circleci/rust:1.33.0
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: build and test
|
||||||
|
command: cargo build && cargo test
|
||||||
|
threetwo:
|
||||||
|
docker:
|
||||||
|
- image: circleci/rust:1.33.0
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: build and test
|
||||||
|
command: cargo build && cargo test
|
||||||
|
threeone:
|
||||||
|
docker:
|
||||||
|
- image: circleci/rust:1.33.0
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: build and test
|
||||||
|
command: cargo build && cargo test
|
||||||
|
threezero:
|
||||||
|
docker:
|
||||||
|
- image: circleci/rust:1.33.0
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: build and test
|
||||||
|
command: cargo build && cargo test
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
build_and_test:
|
||||||
|
jobs:
|
||||||
|
- latest
|
||||||
|
- threefour
|
||||||
|
- threethree
|
||||||
|
- threetwo
|
||||||
|
- threeone
|
||||||
|
- threezero
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue