libc-rs/.travis.yml
Alex Crichton d820c4a8f7 Add OpenBSD and FreeBSD CI to Travis
This commit adds support to test all libc definitions on both OpenBSD and
FreeBSD via QEMU userspace emulation. Specially prepared images for each OS are
used which are essentially intended to run a script on startup and then exit.
Documentation has been added to the `ci/README.md` file describing this new
system.
2016-01-18 22:54:28 -08:00

63 lines
1.5 KiB
YAML

language: rust
sudo: required
dist: trusty
rust:
- 1.0.0
- beta
- nightly
services:
- docker
script:
- if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then
sh ci/run-travis.sh;
else
cargo build;
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-2015-09-08
- os: osx
env: TARGET=x86_64-apple-ios
rust: nightly-2015-09-08
- 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