Lines Matching +full:travis +full:- +full:cargo
8 cache: cargo
11 - if [ -z "$NO_ADD" ]; then rustup target add "$TARGET"; fi
14 - cargo build --verbose --target "$TARGET"
16 - if [ "$RUN" == "1" ]; then cargo test --verbose --target "$TARGET"; fi
20 # Travis CI servers make 2 cores available to processes via virtualization.
21 # See https://docs.travis-ci.com/user/reference/overview/
22 - NUM_CPUS_TEST_GET=2
28 - name: Minimum Supported Rust Version
29 env: TARGET=x86_64-unknown-linux-gnu RUN=1 NO_ADD=1
31 # 32-bit requires multilib.
32 - env: TARGET=i686-unknown-linux-gnu RUN=1
36 - gcc-multilib
37 # 64-bit stable.
38 - env: TARGET=x86_64-unknown-linux-gnu RUN=1 NO_ADD=1
40 # 64-bit beta.
41 - env: TARGET=x86_64-unknown-linux-gnu RUN=1 NO_ADD=1
43 # 64-bit nightly.
44 - env: TARGET=x86_64-unknown-linux-gnu RUN=1 NO_ADD=1
48 - os: osx
49 env: TARGET=x86_64-apple-darwin RUN=1 NO_ADD=1
51 # - for x86
52 - env: TARGET=i686-linux-android
53 - env: TARGET=x86_64-linux-android
54 # - for ARM
55 - env: TARGET=arm-linux-androideabi
56 - env: TARGET=aarch64-linux-android
58 - os: osx
60 env: TARGET=x86_64-apple-ios
62 - env: TARGET=x86_64-unknown-freebsd
64 # FIXME: figure out why target is missing and re-enable
65 #- env: TARGET=x86_64-unknown-fuchsia
67 - env: TARGET=x86_64-unknown-netbsd
69 - env: TARGET=asmjs-unknown-emscripten
72 - name: Docker CGroups
75 - docker build -f ci/cgroups/Dockerfile -t num-cpus-cgroups .
77 - docker run -it -e NUM_CPUS_TEST_GET=2 num-cpus-cgroups
79 - docker run -it --cpus="1" -e NUM_CPUS_TEST_GET=1 num-cpus-cgroups
81 - docker run -it --cpus="1.5" -e NUM_CPUS_TEST_GET=2 num-cpus-cgroups