pokecrystal-board/.travis.yml
2017-12-28 22:23:13 -05:00

24 lines
474 B
YAML

language: c
install:
- |-
path="$(pwd)"; cd;
git clone https://github.com/rednex/rgbds &&
cd rgbds &&
sudo make install &&
cd - &&
rm -rf rgbds &&
cd "$path"
before_script:
- |-
function check_status() {
if ! git diff-index --quiet --ignore-submodules=all HEAD --; then
echo 'Uncommitted changes detected:';
git diff-index HEAD --;
return 1;
fi;
}
script:
- make -j2 compare
- check_status