* initial cargo fix run * Upgrade cranelift-entity crate * Upgrade bforest crate * Upgrade the codegen crate * Upgrade the faerie crate * Upgrade the filetests crate * Upgrade the codegen-meta crate * Upgrade the frontend crate * Upgrade the cranelift-module crate * Upgrade the cranelift-native crate * Upgrade the cranelift-preopt crate * Upgrade the cranelift-reader crate * Upgrade the cranelift-serde crate * Upgrade the cranelift-simplejit crate * Upgrade the cranelift or cranelift-umbrella crate * Upgrade the cranelift-wasm crate * Upgrade cranelift-tools crate * Use new import style on remaining files * run format-all.sh * run test-all.sh, update Readme and travis ci configuration fixed an AssertionError also * Remove deprecated functions
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
# Travis CI script. See https://travis-ci.org/ for more info.
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
language: rust
|
|
rust:
|
|
# The oldest version we currently support. See
|
|
# CONTRIBUTING.md#rustc-version-support for details.
|
|
- 1.31.1
|
|
- beta
|
|
- nightly
|
|
matrix:
|
|
allow_failures:
|
|
# We try to be compatible with beta and nightly, but they occasionally
|
|
# fail, so we don't allow them to hold up people using stable.
|
|
- rust: beta
|
|
- rust: nightly
|
|
# Similarly, we don't need to hold up people using stable while we wait
|
|
# for the results which may fail.
|
|
fast_finish: true
|
|
dist: trusty
|
|
sudo: false
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3-pip
|
|
install:
|
|
- pip3 install --verbose --user --upgrade mypy flake8
|
|
before_script:
|
|
# If an old version of rustfmt from cargo is already installed, uninstall
|
|
# it, since it can prevent the installation of the new version from rustup.
|
|
- cargo uninstall rustfmt || true
|
|
- cargo install --list
|
|
# If we're testing beta or nightly, we still need to install the stable
|
|
# toolchain so that we can run the stable version of rustfmt.
|
|
- rustup toolchain install stable
|
|
# Install the stable version of rustfmt.
|
|
- rustup component add --toolchain=stable rustfmt-preview
|
|
- rustup component list --toolchain=stable
|
|
- rustup show
|
|
- rustfmt +stable --version || echo fail
|
|
# Sometimes the component isn't actually ready after being installed, and
|
|
# rustup update makes it ready.
|
|
- rustup update
|
|
- rustfmt +stable --version
|
|
script: ./test-all.sh
|
|
cache:
|
|
cargo: true
|
|
directories:
|
|
- $HOME/.cache/pip
|