Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak a few things on CI #1492

Merged
merged 1 commit into from
Sep 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: rust
sudo: required
dist: trusty

# Ignore this branch per bors-ng documentation
branches:
except:
- staging.tmp
Expand All @@ -23,9 +24,6 @@ env:
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
- PERCY_PROJECT=crates-io/crates.io

before_install:
- nvm install 10

install:
- cargo install --force diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH

Expand Down Expand Up @@ -54,8 +52,10 @@ matrix:
- cargo install --force clippy --vers 0.0.210
- cargo clippy
- rust: stable
script:
before_install:
- nvm install 10
- rustup component add rustfmt-preview
script:
- cargo fmt -- --check
- cargo build
- cargo test
Expand All @@ -69,6 +69,9 @@ matrix:
script:
- cargo build
- cargo test
# This portion of the cache is quickly invalidated anyway
before_cache:
- cargo clean

notifications:
email:
Expand Down