6d46b6fa5f
This adds a `use_std` Cargo feature which disables `#![no_std]` builds of libc, but is enabled by default. The library will currently continue to link to the standard library to maintain backwards compatibility with the 0.2 series and older Rust compilers for now, but this default can possible be changed in the future.
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
language: rust
|
|
sudo: required
|
|
dist: trusty
|
|
rust:
|
|
- 1.0.0
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
services:
|
|
- docker
|
|
script:
|
|
- if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then
|
|
sh ci/run-travis.sh;
|
|
elif [[ $TRAVIS_RUST_VERSION = "1.0.0" ]]; then
|
|
cargo build;
|
|
else
|
|
cargo build;
|
|
cargo build --no-default-features;
|
|
fi
|
|
os:
|
|
- linux
|
|
- osx
|
|
env:
|
|
matrix:
|
|
- ARCH=x86_64
|
|
- ARCH=i686
|
|
global:
|
|
secure: eIDEoQdTyglcsTD13zSGotAX2HDhRSXIaaTnVZTThqLSrySOc3/6KY3qmOc2Msf7XaBqfFy9QA+alk7OwfePp253eiy1Kced67ffjjFOytEcRT7FlQiYpcYQD6WNHZEj62/bJBO4LTM9sGtWNCTJVEDKW0WM8mUK7qNuC+honPM=
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: TARGET=arm-linux-androideabi DOCKER=alexcrichton/rust-slave-android:2015-11-22
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-unknown-linux-musl
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=arm-unknown-linux-gnueabihf
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=mips-unknown-linux-gnu DOCKER=alexcrichton/rust-libc-mips:2016-01-10
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=aarch64-unknown-linux-gnu
|
|
rust: nightly
|
|
- os: osx
|
|
env: TARGET=i386-apple-ios
|
|
rust: nightly
|
|
- os: osx
|
|
env: TARGET=x86_64-apple-ios
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-rumprun-netbsd DOCKER=alexcrichton/rust-libc-rumprun:2015-11-27
|
|
rust: nightly-2015-09-27
|
|
- os: linux
|
|
env: TARGET=x86_64-unknown-freebsd QEMU=freebsd.qcow2
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
|
|
rust: nightly
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
branches:
|
|
only:
|
|
- master
|