Skip to content

Commit 68f4419

Browse files
committed
use latest travis syntax
Signed-off-by: Jay Lee <[email protected]>
1 parent 564a57c commit 68f4419

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ rust: nightly
33
services: docker
44

55
jobs:
6-
allow_failures:
7-
- if: branch != master
8-
env: JEMALLOC_SYS_VERIFY_CONFIGURE=1
9-
10-
matrix:
116
include:
127
# Linux
138
- name: "aarch64-unknown-linux-gnu"
@@ -129,7 +124,7 @@ matrix:
129124
deploy:
130125
provider: script
131126
script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
132-
skip_cleanup: true
127+
cleanup: true
133128
on:
134129
branch: master
135130
- name: "rustfmt"
@@ -153,6 +148,9 @@ matrix:
153148
- name: "Shellcheck"
154149
install: true
155150
script: shellcheck ci/*.sh
151+
allow_failures:
152+
- if: env(TRAVIS_PULL_REQUEST) != "false"
153+
env: JEMALLOC_SYS_VERIFY_CONFIGURE=1
156154

157155
install: rustup target add ${TARGET}
158156
script: sh ci/run.sh

0 commit comments

Comments
 (0)