shithub: pokecrystal

ref: b42ba692c49f09bb51b2fd233a8a97e7eb3208db
dir: /.travis.yml/

View raw version
language: c
os:
  - linux
  - osx
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