shithub: pokecrystal

ref: 2958188fc6d1ea8d9a5c2d4f0d5a4e3d6ca8faaa
dir: /.travis.yml/

View raw version
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