summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy finch <andyfinch7@gmail.com>2019-03-18 17:01:08 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-03-18 17:01:08 -0400
commitb711a8d0474cd914c564b691b48cc55abf4480cf (patch)
treee703a712caaf18b6856ac9070a5882ed10db169a
parent08a674bf917185fe9d00907120d3f03599a810a0 (diff)
CI jobs should fail quicker on bad test_format or lint (#1954)
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index bbe6ef710..6bf7b3402 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -114,6 +114,8 @@ jobs:
os: linux
dist: xenial
script:
+ - ./tools/lint.py
+ - ./tools/test_format.py
- rustup target add aarch64-unknown-linux-gnu
- sudo apt update
- |-
@@ -136,6 +138,8 @@ jobs:
- name: "cargo release linux x86_64"
os: linux
script:
+ - ./tools/lint.py
+ - ./tools/test_format.py
- cargo build -vv --release --locked
# LSAN: We are in the process of getting a completely clean LSAN build,
# but it will take some work. So for now we just run a subset of the
@@ -145,6 +149,8 @@ jobs:
- name: "lsan debug linux"
os: linux
script:
+ - ./tools/lint.py
+ - ./tools/test_format.py
- echo is_asan=true >> target/debug/args.gn
- echo is_lsan=true >> target/debug/args.gn
# Call gn gen again to make sure new args are recognized.