Skip to content

Commit

Permalink
use latest travis syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Lee <[email protected]>
  • Loading branch information
BusyJay committed Mar 13, 2020
1 parent 564a57c commit 2b4650d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ rust: nightly
services: docker

jobs:
allow_failures:
- if: branch != master
env: JEMALLOC_SYS_VERIFY_CONFIGURE=1

matrix:
include:
# Linux
- name: "aarch64-unknown-linux-gnu"
Expand Down Expand Up @@ -129,7 +124,7 @@ matrix:
deploy:
provider: script
script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
skip_cleanup: true
cleanup: true
on:
branch: master
- name: "rustfmt"
Expand All @@ -153,6 +148,9 @@ matrix:
- name: "Shellcheck"
install: true
script: shellcheck ci/*.sh
allow_failures:
- if: env(TRAVIS_PULL_REQUEST) != "false"
env: JEMALLOC_SYS_VERIFY_CONFIGURE=1

install: rustup target add ${TARGET}
script: sh ci/run.sh
Expand Down

0 comments on commit 2b4650d

Please sign in to comment.