bytemuck/.travis.yml

65 lines
1.8 KiB
YAML
Raw Normal View History

2019-09-20 01:09:31 +00:00
language: rust
sudo: false
git:
quiet: true
rust:
2019-11-26 02:17:41 +00:00
- 1.34.0
2019-09-20 01:09:31 +00:00
- stable
- beta
- nightly
os:
- osx
- linux
# Technically works, but super slow, so we use AppVeyor
#- windows
branches:
only:
- staging
- trying
- master
- dev
matrix:
fast_finish: true
allow_failures:
- rust: nightly
include:
# If we wanted to flag on --release mode we'd add a line like this
2019-11-05 02:26:47 +00:00
#- { os: linux, rust: 1.38.0, env: FLAGS=--release }
2019-09-20 01:09:31 +00:00
2019-11-26 02:17:41 +00:00
- { os: linux, rust: 1.34.0, env: TARGET=wasm32-unknown-unknown }
2019-11-26 03:32:56 +00:00
#- { os: linux, rust: 1.34.0, env: TARGET=wasm32-wasi }
2019-09-20 01:09:31 +00:00
2019-11-26 02:17:41 +00:00
- { os: linux, rust: 1.34.0, env: TARGET=aarch64-linux-android }
- { os: linux, rust: 1.34.0, env: TARGET=armv7-linux-androideabi }
- { os: linux, rust: 1.34.0, env: TARGET=i686-linux-android }
- { os: linux, rust: 1.34.0, env: TARGET=x86_64-linux-android }
2019-09-20 01:09:31 +00:00
2019-11-26 02:17:41 +00:00
- { os: linux, rust: 1.34.0, env: TARGET=arm-unknown-linux-gnueabihf }
- { os: linux, rust: 1.34.0, env: TARGET=armv7-unknown-linux-gnueabihf }
- { os: linux, rust: 1.34.0, env: TARGET=thumbv7neon-unknown-linux-gnueabihf }
2019-09-20 01:09:31 +00:00
2019-11-26 02:17:41 +00:00
- { os: osx, rust: 1.34.0, env: TARGET=aarch64-apple-ios }
- { os: osx, rust: 1.34.0, env: TARGET=armv7-apple-ios }
- { os: osx, rust: 1.34.0, env: TARGET=armv7s-apple-ios }
- { os: osx, rust: 1.34.0, env: TARGET=i386-apple-ios }
- { os: osx, rust: 1.34.0, env: TARGET=x86_64-apple-ios }
2019-09-20 01:09:31 +00:00
script:
- pushd scripts
- ./travis.sh
- popd
# Configured so we cache cargo-web for WASM unit testing, otherwise it takes
# forever (13+ minutes) to compile. See also
# https://levans.fr/rust_travis_cache.html
cache:
directories:
- $TRAVIS_HOME/.cargo/
- $TRAVIS_HOME/.rustup/
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"