Skip to content

Commit

Permalink
Remove Travis config replaced by actions
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Sep 15, 2019
1 parent f7f43a3 commit bccafcf
Showing 1 changed file with 0 additions and 76 deletions.
76 changes: 0 additions & 76 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,82 +30,6 @@ stages:
- release
jobs:
include:
# Check formatting on rust stable before anything else
- name: check rustfmt
stage: formatting
os: linux
rust: stable
before_script: rustup component add rustfmt
script: cargo fmt -- --check

# Our target Rust version. We test:
#
# - A standard linux build
# - --no-default-features to make sure things build in other configurations
# - A static musl build
# - macOS
# - Windows
- name: linux (all features)
stage: test
os: linux
rust: stable
env:
- CARGOTARGET=x86_64-unknown-linux-gnu
- name: linux (musl, only terminology)
stage: test
os: linux
rust: stable
env:
- CARGOTARGET=x86_64-unknown-linux-musl
- CARGOFLAGS='--no-default-features --features terminology'
before_script: rustup target add x86_64-unknown-linux-musl
- name: macOS (only iterm2)
stage: test
os: osx
rust: stable
before_script:
# Add local Python scripts to path for ansi2html
- export PATH="$HOME/Library/Python/2.7/bin:$PATH"
env:
- CARGOTARGET=x86_64-apple-darwin
- CARGOFLAGS='--no-default-features --features iterm2,remote_resources'
- name: windows (no features)
stage: test
os: windows
rust: stable
# Don't install ansi2html on Travis CI: Python isn’t readily available on
# Windows, so skip these tests
before_install: ''
env:
- CARGOTARGET=x86_64-pc-windows-msvc
- CARGOFLAGS='--no-default-features'
# Catch regressions in beta and nightly
- name: rust beta (all features)
stage: test
os: linux
rust: beta
env:
- CARGOTARGET=x86_64-unknown-linux-gnu
- name: rust nightly (all features)
stage: test
os: linux
rust: nightly
env:
- CARGOTARGET=x86_64-unknown-linux-gnu

# Run clippy after testing, with and without features.
- &lint-settings
name: clippy (all features)
stage: lint
os: linux
rust: stable
before_script: rustup component add clippy
script: cargo clippy --all-targets $CARGOFLAGS
- <<: *lint-settings
name: clippy (no features)
env:
- CARGOFLAGS=--no-default-features

# Deploy binary to GitHub
- &deploy-settings
name: Linux binary (static with musl, only terminology)
Expand Down

0 comments on commit bccafcf

Please sign in to comment.