File tree Expand file tree Collapse file tree 4 files changed +53
-37
lines changed Expand file tree Collapse file tree 4 files changed +53
-37
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ master ]
4
+ pull_request :
5
+ branches : [ master ]
6
+
7
+ name : Continuous integration
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+ HOST : x86_64-unknown-linux-gnu
12
+ FEATURES : " test docs"
13
+
14
+ jobs :
15
+ tests :
16
+ runs-on : ubuntu-latest
17
+ strategy :
18
+ matrix :
19
+ rust :
20
+ - stable
21
+ - beta
22
+ - nightly
23
+ - 1.42.0 # MSRV
24
+
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ - uses : actions-rs/toolchain@v1
28
+ with :
29
+ profile : minimal
30
+ toolchain : ${{ matrix.rust }}
31
+ override : true
32
+ - name : Install openblas
33
+ run : sudo apt-get install libopenblas-dev gfortran
34
+ - run : ./scripts/all-tests.sh "$FEATURES" ${{ matrix.rust }}
35
+
36
+ clippy :
37
+ runs-on : ubuntu-latest
38
+ strategy :
39
+ matrix :
40
+ rust :
41
+ - beta
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+ - uses : actions-rs/toolchain@v1
45
+ with :
46
+ profile : minimal
47
+ toolchain : ${{ matrix.rust }}
48
+ override : true
49
+ components : clippy
50
+ - run : cargo clippy
51
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ __ https://docs.rs/ndarray/
11
11
12
12
|build_status |_ |crates |_
13
13
14
- .. |build_status | image :: https://api.travis-ci.org /rust-ndarray/ndarray.svg?branch=master
15
- .. _build_status : https://travis-ci.org /rust-ndarray/ndarray
14
+ .. |build_status | image :: https://github.com /rust-ndarray/ndarray/workflows/Continuous%20integration/badge .svg?branch=master
15
+ .. _build_status : https://github.com /rust-ndarray/ndarray/actions
16
16
17
17
.. |crates | image :: http://meritbadge.herokuapp.com/ndarray
18
18
.. _crates : https://crates.io/crates/ndarray
Original file line number Diff line number Diff line change @@ -17,5 +17,4 @@ cargo test --manifest-path=ndarray-rand/Cargo.toml --features quickcheck --verbo
17
17
cargo test --manifest-path=serialization-tests/Cargo.toml --verbose
18
18
cargo test --manifest-path=blas-tests/Cargo.toml --verbose
19
19
CARGO_TARGET_DIR=target/ cargo test --manifest-path=numeric-tests/Cargo.toml --verbose
20
- ([ " $CHANNEL " != " beta" ] || (rustup component add clippy && cargo clippy))
21
20
([ " $CHANNEL " != " nightly" ] || cargo bench --no-run --verbose --features " $FEATURES " )
You can’t perform that action at this time.
0 commit comments