language: rust rust: nightly sudo: false services: docker matrix: include: # Linux - env: TARGET=aarch64-unknown-linux-gnu - env: TARGET=arm-unknown-linux-gnueabi - env: TARGET=arm-unknown-linux-musleabi - env: TARGET=armv7-unknown-linux-gnueabihf - env: TARGET=armv7-unknown-linux-musleabihf - env: TARGET=i586-unknown-linux-gnu - env: TARGET=i686-unknown-linux-gnu - env: TARGET=i686-unknown-linux-musl - env: TARGET=mips-unknown-linux-gnu - env: TARGET=mips64-unknown-linux-gnuabi64 - env: TARGET=mips64el-unknown-linux-gnuabi64 - env: TARGET=mipsel-unknown-linux-gnu - env: TARGET=powerpc-unknown-linux-gnu - env: TARGET=powerpc64-unknown-linux-gnu - env: TARGET=powerpc64le-unknown-linux-gnu - env: TARGET=sparc64-unknown-linux-gnu - env: TARGET=x86_64-unknown-linux-gnu - env: TARGET=x86_64-unknown-linux-musl # Android - env: TARGET=aarch64-linux-android - env: TARGET=arm-linux-androideabi - env: TARGET=armv7-linux-androideabi - env: TARGET=x86_64-linux-android # OSX - env: TARGET=i686-apple-darwin os: osx - env: TARGET=x86_64-apple-darwin os: osx # Windows #- env: TARGET=x86_64-pc-windows-gnu #- env: TARGET=i686-pc-windows-gnu # Emscripten - env: TARGET=asmjs-unknown-emscripten - env: TARGET=wasm32-unknown-emscripten - env: DOCUMENTATION install: pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH script: cargo doc after_success: - travis-cargo --only nightly doc-upload allow_failures: - env: TARGET=arm-linux-androideabi - env: TARGET=armv7-linux-androideabi - env: TARGET=arm-unknown-linux-musleabi - env: TARGET=armv7-unknown-linux-musleabihf - env: TARGET=sparc64-unknown-linux-gnu - env: TARGET=asmjs-unknown-emscripten - env: TARGET=wasm32-unknown-emscripten script: - | cd jemalloc-sys rm -rf jemalloc git clone https://github.com/jemalloc/jemalloc.git cd jemalloc git checkout -b rc1 b8f4c730eff28edee4b583ff5b6ee1fac0f26c27 cd ../.. - cargo install cross - cross run --target $TARGET --manifest-path systest/Cargo.toml - export JEMALLOC_SYS_RUN_TESTS=1 - cross build --target $TARGET - cross build --target $TARGET --features profiling - cross build --target $TARGET --features debug - cross build --target $TARGET --features 'debug profiling' - cross test --target $TARGET - cross test --target $TARGET --release env: global: - secure: "2Z1z4ir++XEQb9eegYTMolsNfTo1aATric2k4KfvRgnG1nAvvccf1Jg0828PVeqqD6w5f+X52AVT4bTDXbSL5L+/cTiBuVmY3943nyNOgHxFBTbVlnLtGnh18bb7AQAhyH1L9KjiLptMtFUfIg3TQ9r0QS+cBEJMFiE8BuuQMq/uPZYF3QMuV8W+9AwnqZPgdZV4q7LRnx2gHyVKifRfa4v0TxJA+fY5euON8CKemw12yVTZyNS5WUq6GLvQa5KsSYOSAIYizxz8Mze8plQytc6VhF3OuFyJ72u5LAx+szyxIu8zNAkyNeUqI1/V1gnlhWbZfov6KV56qoV9U8+xKp1J/nCXdabHEO/saOgWk4XgSSc7JNsT1PMPKT18r7JwNha0DS2onWBbegYMV0YXyH/WVAM+oXvhZAj7WPz5bHRbgkatGmBZD2jOjRQxzSugJsZzsmrKbWm8lIoyJGdNxTn5CisYElZvP1CV1OFaQBkaLfmnlpbJ0NQXpQdnpgXuLvI7sXptyn0Bjt41JQclB2BU98SrEiR0hPlkh8m4fH/QpQ8WdXEtvKXTX8UtG5RPW0UvTZVZtrU4Weyu2Hctj2D/hkXywtBXp7mUhB21fBGiaEc+vh6Q2OrZPrwoAj3YWfLlNBjFmfKmUwXXLno4FLLUujFmmypgs4Qit5HtzwQ=" notifications: email: on_success: never git: submodules: false