num-traits/.travis.yml

53 lines
1.2 KiB
YAML
Raw Normal View History

2014-12-23 17:50:53 +00:00
language: rust
2019-04-16 21:32:21 +00:00
sudo: false
2015-05-19 16:22:06 +00:00
rust:
- 1.8.0
2018-05-07 19:38:56 +00:00
- 1.15.0
- 1.20.0
2019-04-16 21:32:21 +00:00
- 1.26.0 # has_i128
- 1.31.0 # 2018!
- stable
2015-05-19 16:22:06 +00:00
- beta
- nightly
2014-09-16 17:35:35 +00:00
script:
- cargo build --verbose
- ./ci/test_full.sh
2019-04-16 21:32:21 +00:00
matrix:
include:
2019-08-30 22:54:41 +00:00
# i586 presents floating point challenges for lack of SSE/SSE2
- name: "i586"
rust: stable
env: TARGET=i586-unknown-linux-gnu
addons:
apt:
packages:
- gcc-multilib
before_script:
- rustup target add $TARGET
script:
- cargo test --verbose --target $TARGET --all-features
2019-05-22 00:38:28 +00:00
# try a target that doesn't have std at all
- name: "no_std"
rust: stable
env: TARGET=thumbv6m-none-eabi
before_script:
- rustup target add $TARGET
script:
- cargo build --verbose --target $TARGET --no-default-features --features i128
2019-09-27 17:56:03 +00:00
- cargo build --verbose --target $TARGET --no-default-features --features libm
2019-04-16 21:32:21 +00:00
- name: "rustfmt"
rust: 1.31.0
before_script:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
2015-01-02 06:09:50 +00:00
notifications:
email:
on_success: never
2017-07-09 05:28:49 +00:00
branches:
only:
- master
- next
- staging
- trying