Skip to content

Commit f4f1858

Browse files
committed
Move cargotest to separate jobs on Travis-CI and AppVeyor
1 parent 5167aac commit f4f1858

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ matrix:
169169
if: branch = auto
170170
- env: IMAGE=x86_64-gnu-aux
171171
if: branch = auto
172+
- env: IMAGE=x86_64-gnu-cargotest
173+
if: branch = auto
172174
- env: IMAGE=x86_64-gnu-debug
173175
if: branch = auto
174176
- env: IMAGE=x86_64-gnu-nopt

appveyor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ environment:
2525
RUST_CHECK_TARGET: check-aux
2626
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
2727

28+
# MSVC cargotest
29+
- MSYS_BITS: 64
30+
SCRIPT: python x.py test src/tools/cargotest
31+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
32+
2833
# 32/64-bit MinGW builds.
2934
#
3035
# We are using MinGW with posix threads since LLVM does not compile with

src/bootstrap/mk/Makefile.in

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ check:
5252
$(Q)$(BOOTSTRAP) test $(BOOTSTRAP_ARGS)
5353
check-aux:
5454
$(Q)$(BOOTSTRAP) test \
55-
src/tools/cargotest \
5655
src/tools/cargo \
5756
src/tools/rls \
5857
src/tools/rustfmt \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM ubuntu:16.04
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
g++ \
5+
make \
6+
file \
7+
curl \
8+
ca-certificates \
9+
python2.7 \
10+
git \
11+
cmake \
12+
libssl-dev \
13+
sudo \
14+
xz-utils \
15+
pkg-config
16+
17+
COPY scripts/sccache.sh /scripts/
18+
RUN sh /scripts/sccache.sh
19+
20+
ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu
21+
ENV SCRIPT python2.7 ../x.py test src/tools/cargotest

0 commit comments

Comments
 (0)