shithub: pokecrystal

ref: 140a065b7a7c124c3dd03367c1813614caacff86
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