servo: Merge #8361 - Add script to check if lockfile was changed (from Manishearth:lockfile_changed); r=frewsxcv

Source-Repo: https://github.com/servo/servo
Source-Revision: 60d40ed06afced66b5a76fc824132fb244265f06
This commit is contained in:
Manish Goregaokar 2015-11-06 01:49:39 +05:01
parent 8fc8121668
commit e7214d70d4
2 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,9 @@ matrix:
cache: false
- sudo: 9000
dist: trusty
script: ./mach build -d --verbose
script:
- ./mach build -d --verbose
- bash etc/ci/lockfile_changed.sh
cache:
directories:
- .cargo

View File

@ -0,0 +1,4 @@
#!/bin/bash
diff=$(git diff -- */*/Cargo.lock)
echo "$diff"
[[ ! $diff ]]