File tree Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Original file line number Diff line number Diff line change 1
- freebsd_instance :
2
- image : freebsd-11-2-release-amd64
3
-
4
1
# Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the
5
2
# same VM. The binary will be built in 32-bit mode, but will execute on a
6
3
# 64-bit kernel and in a 64-bit environment. Our tests don't execute any of
10
7
cargo_cache :
11
8
folder : $CARGO_HOME/registry
12
9
fingerprint_script : cat Cargo.lock || echo ""
10
+ freebsd_instance :
11
+ image : freebsd-11-2-release-amd64
13
12
# Install Rust
14
13
setup_script :
15
14
- pkg install -y curl
23
22
- . $HOME/.cargo/env
24
23
- cargo test --target i686-unknown-freebsd
25
24
before_cache_script : rm -rf $CARGO_HOME/registry/index
25
+
26
+ task :
27
+ name : Linux/GNU x86_64
28
+ container :
29
+ matrix :
30
+ - image : rust:1.24.1
31
+ - image : rust:latest
32
+ cargo_cache :
33
+ folder : $CARGO_HOME/registry
34
+ fingerprint_script : cat Cargo.lock || echo ""
35
+ setup_script :
36
+ - uname -a
37
+ - cat /etc/debian_version
38
+ build_script :
39
+ - cargo build
40
+ - cargo build --release
41
+ test_script :
42
+ - cargo test
43
+ - cargo test --release
Original file line number Diff line number Diff line change @@ -72,8 +72,7 @@ matrix:
72
72
rust : 1.24.1
73
73
- env : TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
74
74
rust : 1.24.1
75
- - env : TARGET=x86_64-unknown-linux-gnu
76
- rust : 1.24.1
75
+ # Linux/GNU x86_64 uses Cirrus instead of Travis
77
76
- env : TARGET=x86_64-unknown-linux-musl
78
77
rust : 1.24.1
79
78
@@ -84,10 +83,6 @@ matrix:
84
83
- env : TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
85
84
rust : 1.24.1
86
85
87
- # Make sure stable is always working too
88
- - env : TARGET=x86_64-unknown-linux-gnu
89
- rust : stable
90
-
91
86
before_install : set -e
92
87
93
88
install :
Original file line number Diff line number Diff line change 1
1
# Gate on Travis CI and Buildbot
2
2
status = [" continuous-integration/travis-ci/push" ,
3
- " FreeBSD 11.2" ]
3
+ " FreeBSD 11.2" ,
4
+ " Linux/GNU x86_64" ]
4
5
5
6
# Set bors's timeout to 4 hours
6
7
#
You can’t perform that action at this time.
0 commit comments