pokecrystal-board/.travis.yml

28 lines
533 B
YAML
Raw Normal View History

2017-03-21 09:08:02 -07:00
language: c
2018-06-30 19:28:13 -07:00
os:
- linux
- osx
2017-03-21 09:08:02 -07:00
install:
- |-
path="$(pwd)"; cd;
2017-06-17 17:09:37 -07:00
git clone https://github.com/rednex/rgbds &&
cd rgbds &&
2017-03-21 09:08:02 -07:00
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:
2017-12-25 16:16:37 -08:00
- make -j2 compare
2017-12-28 19:23:13 -08:00
- check_status
after_success:
- .travis/webhook.sh