pokered/.travis.yml
Antonio Niño Díaz dfc094db72 Update Travis configuration to use rgbds 0.3.1
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
2017-06-09 22:36:11 +01:00

24 lines
541 B
YAML

language: c
install:
- |-
path="$(pwd)"; cd;
wget https://github.com/rednex/rgbds/archive/v0.3.1.tar.gz -O rgbds.tar.gz &&
tar xf rgbds.tar.gz &&
cd rgbds-0.3.1 &&
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
- make compare
- check_status