mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #8361 - Manishearth:lockfile_changed, r=frewsxcv
Add script to check if lockfile was changed <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8361) <!-- Reviewable:end -->
This commit is contained in:
commit
60d40ed06a
2 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,9 @@ matrix:
|
||||||
cache: false
|
cache: false
|
||||||
- sudo: 9000
|
- sudo: 9000
|
||||||
dist: trusty
|
dist: trusty
|
||||||
script: ./mach build -d --verbose
|
script:
|
||||||
|
- ./mach build -d --verbose
|
||||||
|
- bash etc/ci/lockfile_changed.sh
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- .cargo
|
- .cargo
|
||||||
|
|
4
etc/ci/lockfile_changed.sh
Executable file
4
etc/ci/lockfile_changed.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
diff=$(git diff -- */*/Cargo.lock)
|
||||||
|
echo "$diff"
|
||||||
|
[[ ! $diff ]]
|
Loading…
Add table
Add a link
Reference in a new issue